method

create_join_table

rails latest stable - Class: ActiveRecord::Migration::Current
create_join_table(table_1, table_2, **options)
public

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 580
      def create_join_table(table_1, table_2, **options)
        if block_given?
          super { |t| yield compatible_table_definition(t) }
        else
          super
        end
      end