One table with two keys to another table


#1

Hi,

I’ve a table, say “ProductNames” with fields (id,name) and another table
“Products” with fields (id,name1_id,name2_id,name3_id)

How should I map this with RoR?

Thanks