Displaying 1 result from an estimated 1 matches for "foregin_id".
2006 Apr 02
5
foreign keys and migrations
...sure is obvious to
everyone else but I haven''t been able to find the answer to. i''ve
tried searching through the forums and the api pages and haven''t found
anything.
Is there a way with migrations to set up foregin key relationships?
(beyond putting in the relevant foregin_id attributes)
Is that just supposed to be handeled at the model level with
"belongs_to" and "has_many" .etc... ?
I guess what I''m asking is whether relationships should just be handeled
at the business level or at the business level and data level? Is there
a best pr...