class ActiveRecord::TableMetadata
def associated_with?(table_name)
Experimental RBS support (using type sampling data from the type_fusion
project).
def associated_with?: (String table_name) -> nil
This signature was generated using 5 samples from 1 application.
def associated_with?(table_name) klass&._reflect_on_association(table_name) || klass&._reflect_on_association(table_name.singularize) end