aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-04-17 05:06:55 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2013-04-17 05:06:55 -0400
commitee48cf69eeb04a21941922c7f840babe3b619c6e (patch)
tree503961022e82a263aa5c1027208df827ba8d8db5 /activerecord/lib
parentbbcc2126c6a8b8ae368108889f753178f110864c (diff)
downloadrails-ee48cf69eeb04a21941922c7f840babe3b619c6e.tar.gz
rails-ee48cf69eeb04a21941922c7f840babe3b619c6e.tar.bz2
rails-ee48cf69eeb04a21941922c7f840babe3b619c6e.zip
without autosave option updated records not save
Emphasizing that without autosave option only new records are saved and updated records are not saved
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/autosave_association.rb3
1 files changed, 2 insertions, 1 deletions
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 <tt>autosave: false</tt> is not same as not declaring <tt>:autosave</tt>.
- # When the <tt>:autosave</tt> option is not present new associations are saved.
+ # When the <tt>:autosave</tt> option is not present then new association records are
+ # saved but the updated association records are not saved.
#
# == Validation
#