Ruby on Rails Discussions
Polymorphic FK mapped to field other than ID
rubyonrails-talk
Jon2
(Jon)
June 27, 2007, 6:50pm
1
Here's the scenario:
I have a table that looks something like:
containers
Related topics
Topic
Replies
Views
Activity
Tables: Unnecessary duplication of id fields
rubyonrails-talk
0
146
June 30, 2008
A single column with foreign keys from Multiple tables
rubyonrails-talk
4
195
August 11, 2011
How do you set the DOMESTIC key?
rubyonrails-talk
1
107
March 23, 2008
how to relate models on field other than id
rubyonrails-talk
8
212
March 13, 2008
manage manual foreign_key ,foreign_type in polymorphic ?
rubyonrails-talk
0
107
March 4, 2008