method

foreign_table_name

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ReferenceDefinition
foreign_table_name() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 293
        def foreign_table_name
          foreign_key_options.fetch(:to_table) do
            Base.pluralize_table_names ? name.to_s.pluralize : name
          end
        end
Register or log in to add new notes.