Forum: Ruby on Rails One table with two keys to another table

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Matias S. (Guest)
on 2006-02-03 21:29
(Received via mailing list)

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?

This topic is locked and can not be replied to.