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 [6d056c7175d1f146684235ab0155f63bf03d534d] by Eloy Duran

Revision 6d056c7175d1f146684235ab0155f63bf03d534d, committed by Eloy Duran · January 7th, 2010 @ 12:20 PM

Moved the validation logic to the association reflection and refactored autosave_association.rb a bit.
http://github.com/rails/rails/commit/6d056c7175d1f146684235ab0155f6...

4 changed files

  • M activerecord/lib/active_record/autosave_association.rb
  • M activerecord/lib/active_record/reflection.rb
  • M activerecord/test/cases/nested_attributes_test.rb
  • M activerecord/test/cases/reflection_test.rb