This project is archived and is in readonly mode.
Changeset [31ea83eb898786f853bd7ce7075986fa120f949d] by Samuel Elliott
Revision 31ea83eb898786f853bd7ce7075986fa120f949d,
committed by Samuel Elliott
· January 17th, 2010 @ 01:40 PM
Adding Proc support to validation messages so that they can become a little more dynamic, allowing for customisations during the request [#3514 status:resolved].
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/31ea83eb898786f853bd7ce7075986...
2 changed files
-
M
activemodel/lib/active_model/errors.rb -
M
activemodel/test/cases/validations_test.rb