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

Revision b6264c43f414f323656ed135d46213466cbe00fb, committed by Eloy Duran · January 7th, 2010 @ 12:19 PM

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

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