This project is archived and is in readonly mode.

Changeset [658bb4fa25db0b3f61bfb64028274f2365cad506] 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...

Committed by Chiel Wester

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>