# File lib/active_record/autosave_association.rb, line 223 def changed_for_autosave? new_record? || changed? || marked_for_destruction? || nested_records_changed_for_autosave? end