instance method
reload_with_autosave_associations
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
reload_with_autosave_associations(options = nil)
Reloads the attributes of the object as usual and removes a mark for destruction.
Parameters
-
optionsopt = nil
Source
# File activerecord/lib/active_record/autosave_association.rb, line 200
def reload_with_autosave_associations(options = nil)
@marked_for_destruction = false
reload_without_autosave_associations(options)
end
Defined in activerecord/lib/active_record/autosave_association.rb line 200
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AutosaveAssociation