Browse files

without autosave option updated records not save

Emphasizing that without autosave option only new
records are saved and updated records are not saved
  • Loading branch information...
1 parent bbcc212 commit ee48cf69eeb04a21941922c7f840babe3b619c6e Neeraj Singh committed Apr 17, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 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

0 comments on commit ee48cf6

Please sign in to comment.