method

foreign_table_name

Importance_0
v5.0.0.1 - Show latest stable - 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 145
      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.