method

drop_join_table

Importance_1
drop_join_table(table_1, table_2, **options) public

Drops the join table specified by the given arguments. See #create_join_table and #drop_table for details.

Although this command ignores the block if one is given, it can be helpful to provide one in a migration’s change method so it can be reverted. In that case, the block will be used by #create_join_table.

Show source
Register or log in to add new notes.