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 [658bb4fa25db0b3f61bfb64028274f2365cad506] by Chiel Wester

Revision 658bb4fa25db0b3f61bfb64028274f2365cad506, committed by Chiel Wester · December 13th, 2010 @ 04:04 PM

Only call save on belongs_to associations if the record has changed or any nested associations have changed (resolves #3353)

Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/658bb4fa25db0b3f61bfb64028274...

2 changed files

  • M activerecord/lib/active_record/autosave_association.rb
  • M activerecord/test/cases/autosave_association_test.rb