This project is archived and is in readonly mode.

Changeset [bda16eb0920780509467bcf051d1a01639357903] by Chiel Wester

December 15th, 2010 @ 08:19 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/bda16eb0920780509467bcf051d1a...

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>