--- In RubyOnRails@yahoogroups.com, "mpfilbin" <mpfilbin@...> wrote:
>
> >> match1 << team1
> >> ... output...
> >> match1 << team2
> >> .. output ...
> >> match1.teams
> >> should return an array of teams associated with this match.
thx, mpfilbin.
i knew how to use habtm, but thats not what i wanted. i dont want to
have 1 or 3 or 4 teams on a match, but exactly two: one home, one away
team.
alexandre helped me out. thanks anyway.