instance method table_name_options

Ruby on Rails 4.2.9

Since v4.1.16 Last seen in v4.2.9

Available in: v4.1.16 v4.2.9

Signature

table_name_options(config = ActiveRecord::Base)

No documentation comment.

Parameters

config opt = ActiveRecord::Base
Source
# File activerecord/lib/active_record/migration.rb, line 734
    def table_name_options(config = ActiveRecord::Base)
      {
        table_name_prefix: config.table_name_prefix,
        table_name_suffix: config.table_name_suffix
      }
    end

Defined in activerecord/lib/active_record/migration.rb line 734 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Migration

Type at least 2 characters to search.

↑↓ navigate · open · esc close