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 [d748cc3cd07c6931e5ebc5242f268f1f7ec3d906] by Ryan Bigg

Revision d748cc3cd07c6931e5ebc5242f268f1f7ec3d906, committed by Ryan Bigg · April 10th, 2010 @ 12:21 PM

Re-define empty? for errors to check if the values inside the OrderedHash are empty rather than the OrderedHash itself. [#4356 state:resolved]

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

2 changed files

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