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 [df5691aa94f209a59945d60d750a5040b24dbc40] by José Valim

Revision df5691aa94f209a59945d60d750a5040b24dbc40, committed by José Valim · April 11th, 2011 @ 04:47 PM

No need to rescue here. Invoking the wrong method in an object can happen anywhere if you are not careful. In other words, test your shit.
https://github.com/rails/rails/commit/df5691aa94f209a59945d60d750a5...

6 changed files

  • M activemodel/lib/active_model/validations/exclusion.rb
  • M activemodel/lib/active_model/validations/format.rb
  • M activemodel/lib/active_model/validations/inclusion.rb
  • M activemodel/test/cases/validations/exclusion_validation_test.rb
  • M activemodel/test/cases/validations/format_validation_test.rb
  • M activemodel/test/cases/validations/inclusion_validation_test.rb