method
associated_with?
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::TableMetadata
associated_with?(association_name)public
No documentation available.
# File activerecord/lib/active_record/table_metadata.rb, line 43
def associated_with?(association_name)
klass && klass._reflect_on_association(association_name)
end