One table with two keys to another table

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs