> Sequel uses methods instead of proxies for modifying associations: > > game.add_game_player(GamePlayer.new(opts))
Looks good, I was just playing with this. Any opposition to a patch to also accept a Hash and do the GamePlayer.new automatically in that case? game.add_game_player(GamePlayer.new(opts)) game.add_game_player(opts) # same thing Eg, game.add_game_player(:is_host => false, :timeout => 30) Reads a bit simpler ? -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 -~----------~----~----~----~------~----~------~--~---
