And if I use a belongs_to for each two teams, then I have to do that for all the combinations of any team playing any other team? That doesn't sound right?
C On Oct 3, 7:08 pm, kevinpfromnm <[email protected]> wrote: > I'd probably use a separate belongs_to association for each of the two > teams. You don't really want a many-many relationship as teams can have > many games but each game can have only two. The downside is it becomes a > little bit trickier to handle any sql to find what games a team was in since > there are two relationships. > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
