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 [275f922a23b780600a32f70de5b661371c8ffdf4] by Obie Fernandez

Revision 275f922a23b780600a32f70de5b661371c8ffdf4, committed by Obie Fernandez · September 24th, 2010 @ 11:49 AM

Better shortcut options for custom validators [#5672 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/275f922a23b780600a32f70de5b661...

3 changed files

  • M activemodel/lib/active_model/validations/validates.rb
  • M activemodel/test/cases/validations/validates_test.rb
  • M activemodel/test/models/person_with_validator.rb