core/db/migrate/20150111031229_create_comable_products_categories.rb
class CreateComableProductsCategories < ActiveRecord::Migration
def change
create_table :comable_products_categories do |t|
t.references :product, null: false, index: true
t.references :category, null: false, index: true
end
end
end