Path: | doc/release_notes/3.19.0.txt |
Last Update: | Tue Aug 21 16:49:59 +0000 2012 |
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"}]]}