2008/9/29 Jason <[EMAIL PROTECTED]>: > > I understand what you are suggesting. However, which way is "better" > practice? Should I use the two relationships, or one with a join table > that contains the extra column.
I am new to rails, but very old in databases: If a route has two and will never have more than two nor less than two, you have to create two relationships, one called begin and other called end. Else, you have to create a table HABTM, where one route describes the full stack of relationships (with some kind of sorted-by). Regards, -- Rodrigo Fuentealba http://www.thecodekeeper.net/ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---