method

foreign_table_name

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 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 229
        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.