Path: | doc/release_notes/3.19.0.txt |
Last Update: | Thu Nov 12 08:45:04 +0000 2015 |
artist.add_album(42) # equivalent to: artist.add_album(Album[42])
Album.plugin :validation_class_methods Album.validates_acceptance_of(:a) Album.validation_reflections # => {:a=>[[:acceptance, {:tag=>:acceptance, :allow_nil=>true, :message=>"is not accepted", :accept=>"1"}]]}