Skip to content

Commit

Permalink
without autosave option updated records not save
Browse files Browse the repository at this point in the history
Emphasizing that without autosave option only new
records are saved and updated records are not saved
  • Loading branch information
Neeraj Singh committed Apr 17, 2013
1 parent bbcc212 commit ee48cf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion activerecord/lib/active_record/autosave_association.rb
Expand Up @@ -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
#
Expand Down

0 comments on commit ee48cf6

Please sign in to comment.