rails/activerecord/lib
Sean Griffin d849f42b4e Autosave existing records on HMT associations when the parent is new
To me it seems like this should only be the case if `autosave: true` is
set on the association. However, when implemented that way, it caused
issues with has many associations, where we have explicit tests stating
that child records are updated when the parent is new, even if autosave
is not set (presumably to update the parent id, but other changed
attributes would be persisted as well).

It's quirky, but at least we should be consistently quirky. This
constitutes a minor but subtle change in behavior, and therefore should
not be backported to 4.2 and earlier.

Fixes #19782
2015-04-18 10:47:04 -04:00
..
active_record Autosave existing records on HMT associations when the parent is new 2015-04-18 10:47:04 -04:00
rails/generators Add Secure Token Generator 2015-01-11 14:42:54 -05:00
active_record.rb Batch touch parent records 2015-04-08 13:31:28 -04:00