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 [ce48b3103acd2f58931aa42b93073592b291114e] by Santiago Pastorino

Revision ce48b3103acd2f58931aa42b93073592b291114e, committed by Santiago Pastorino · April 28th, 2010 @ 10:12 PM

Makes validates_acceptance_of to not override database fields [#4460 state:committed]

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

3 changed files

  • M activemodel/lib/active_model/validations.rb
  • M activemodel/lib/active_model/validations/acceptance.rb
  • M activerecord/lib/active_record/base.rb