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

Revision 51739d3228d12907d60fb1b0a2b1ef96c55f66a3, committed by Neeraj Singh · June 19th, 2010 @ 04:59 PM

moving before_validation and after_validation functionality from ActiveRecord to ActiveModel

[#4653 state:resolved]

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

6 changed files

  • A activemodel/lib/active_model/validations/callbacks.rb
  • A activemodel/test/cases/validations/callbacks_test.rb
  • M activemodel/lib/active_model/validations.rb
  • M activerecord/lib/active_record/base.rb
  • M activerecord/lib/active_record/callbacks.rb
  • M activerecord/lib/active_record/validations.rb