method

associated_with

rails latest stable - Class: ActiveRecord::TableMetadata

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

associated_with(table_name)
public

No documentation available.

# File activerecord/lib/active_record/table_metadata.rb, line 22
    def associated_with(table_name)
      klass&._reflect_on_association(table_name)
    end