P
Pedro Santos
Hi,
I am experimenting with Rails, and I have the following question regarding
ActiveRecord.
If I want to model a situation where a many to many relationship has some
fields associated with it, is there any way to do it with ActiveRecord?
For instance, if several stores have product inventory I would have a many
to many relation between the "products" table and the "stores" table, with
the quantity stored in the table "stores_products".
Thanks,
Il Doge
I am experimenting with Rails, and I have the following question regarding
ActiveRecord.
If I want to model a situation where a many to many relationship has some
fields associated with it, is there any way to do it with ActiveRecord?
For instance, if several stores have product inventory I would have a many
to many relation between the "products" table and the "stores" table, with
the quantity stored in the table "stores_products".
Thanks,
Il Doge