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 [e11bb95d56ed77b10d54d9dfe5a3cc4aa48b3a61] by Neeraj Singh

Revision e11bb95d56ed77b10d54d9dfe5a3cc4aa48b3a61, committed by Neeraj Singh · June 10th, 2010 @ 04:50 PM

Validators should at model level and not at AR:Base level [Closes #4804]

[#4804 state:resolved]

Signed-off-by: David Heinemeier Hansson david@loudthinking.com
http://github.com/rails/rails/commit/e11bb95d56ed77b10d54d9dfe5a3cc...

2 changed files

  • M activemodel/lib/active_model/validations.rb
  • M activerecord/test/cases/validations_test.rb