This project is archived and is in readonly mode.
Changeset [2476c5312dcbd29f49672f71617a3d34c6a60cc7] by José Valim
Revision 2476c5312dcbd29f49672f71617a3d34c6a60cc7,
committed by José Valim
· December 22nd, 2009 @ 10:12 PM
Validator is simply sent to validate method. However, the API
needs to change, so validate accepts a record.
http://github.com/rails/rails/commit/2476c5312dcbd29f49672f71617a3d...
3 changed files
-
M
activemodel/lib/active_model/validations/with.rb -
M
activemodel/lib/active_model/validator.rb -
M
activemodel/test/cases/validations/with_validation_test.rb