mardi 25 octobre 2016

Create data in intermediate table + has_and_belongs_to_many association in Rails

I have these 2 objects

box_id => 2 product_id => 3

how to create a entry in boxes_products table

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire