This project is archived and is in readonly mode.
Changeset [bda16eb0920780509467bcf051d1a01639357903] by Chiel Wester
Revision bda16eb0920780509467bcf051d1a01639357903,
committed 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...
2 changed files
-
M
activerecord/lib/active_record/autosave_association.rb -
M
activerecord/test/cases/autosave_association_test.rb