instance method
autosaving_belongs_to_for?
Ruby on Rails 8.0.4
Since v8.0.4Available in: v8.0.4 v8.1.2
Signature
autosaving_belongs_to_for?(association)
No documentation comment.
Parameters
-
associationreq
Source
# File activerecord/lib/active_record/autosave_association.rb, line 284
def autosaving_belongs_to_for?(association)
@autosaving_belongs_to_for ||= {}
@autosaving_belongs_to_for[association]
end
Defined in activerecord/lib/active_record/autosave_association.rb line 284
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AutosaveAssociation