From ee48cf69eeb04a21941922c7f840babe3b619c6e Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Wed, 17 Apr 2013 05:06:55 -0400 Subject: without autosave option updated records not save Emphasizing that without autosave option only new records are saved and updated records are not saved --- activerecord/lib/active_record/autosave_association.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/autosave_association.rb b/activerecord/lib/active_record/autosave_association.rb index 44323ce9db..b0bd78ad46 100644 --- a/activerecord/lib/active_record/autosave_association.rb +++ b/activerecord/lib/active_record/autosave_association.rb @@ -17,7 +17,8 @@ module ActiveRecord # be destroyed directly. They will however still be marked for destruction. # # Note that autosave: false is not same as not declaring :autosave. - # When the :autosave option is not present new associations are saved. + # When the :autosave option is not present then new association records are + # saved but the updated association records are not saved. # # == Validation # -- cgit v1.2.3