Ruby on Rails
Monday, November 1, 2010
Yes I'd like person to have the foreign key to have a foreign key to
one of the other 3 models.
On Nov 1, 8:59 am, Tim Shaffer <timshaf...@me.com> wrote:
> Is this a one-to-one, or one-to-many relationship?
>
> Which class should has the foreign key? Do your A, B, and C classes
> have a foreign key to person, or do you want person to have a foreign
> key to one of the other 3 models?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment