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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C7d5bc5b054035d95f287797c2595694?d=identicon&s=25 Matias Surdi (Guest)
on 2006-02-03 20:29
(Received via mailing list)
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 topic is locked and can not be replied to.