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 [e8c064bbe0fb5e07c7ceaa45d0cafa3c4ef01ab0] by Josh Kalderimis

Revision e8c064bbe0fb5e07c7ceaa45d0cafa3c4ef01ab0, committed by Josh Kalderimis · June 23rd, 2010 @ 01:45 PM

Regression with how base errors messages are added to a model. Works correctly for both string error messages and symbol translated messages.

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

3 changed files

  • M activemodel/lib/active_model/deprecated_error_methods.rb
  • M activemodel/lib/active_model/errors.rb
  • M activemodel/test/cases/validations_test.rb