Now that Jeremy's pushed the new ID-based add/remove association
helpers (thanks!) I'm having trouble with a noobie question.
How do I do a find by primary key thru the association? In AR that
would be:
game = Game[5]
game.game_players.find(17)
I tried
game.find_game_player(17)
game.first_game_player(17)
game.get_game_player(17)
But no luck.
Thanks,
Nate
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" 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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---