This project is archived and is in readonly mode.
Adding Proc support on validation messages
-
Kieran P
- Tag changed from message, proc, validations to bug, bugmash, message, proc, validations
-
Lenary
- Tag changed from bug, bugmash, message, proc, validations to bug, bugmash, message, patch, proc, validations
I think the following patch should apply to rails 3, on top of commit afd0c06dfa
I have altered the message to put more emphasis on the fact that this makes it dynamic, rather than allows us to use I18n, as now I18n is possible using activemodel validations.
-
José Valim
- State changed from new to open
- Assigned user set to José Valim
-
Repository
(from [31ea83eb898786f853bd7ce7075986fa120f949d]) 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... -
José Valim
- State changed from open to committed
