This project is archived and is in readonly mode.
Changeset [69db137f891e0ff5577eeab72da6600db1d2cbcf] by Mike Breen
Revision 69db137f891e0ff5577eeab72da6600db1d2cbcf,
committed by Mike Breen
· January 7th, 2010 @ 12:20 PM
Allows you to pass :all_blank to :reject_if option to automatically create a Proc that will reject any record with blank attributes.
[#2501 state:resolved]
Signed-off-by: Eloy Duran eloy.de.enige@gmail.com
http://github.com/rails/rails/commit/69db137f891e0ff5577eeab72da660...
4 changed files
-
M
activerecord/lib/active_record/nested_attributes.rb -
M
activerecord/test/cases/nested_attributes_test.rb -
M
activerecord/test/models/pirate.rb -
M
activerecord/test/schema/schema.rb