Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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