search for: players_map

Displaying 1 result from an estimated 1 matches for "players_map".

2010 Apr 15
3
Same model over multiple databases problem
...with the Player model I need connect to a different database depending on which gameserver I am working on. My problem is that I need to make rails choose which database to use before creating/loading the model Player. I know which database to use because there is a central database with the table players_map that has the name of all players and tells me which gameserver database that player is. So in resume, any ideas how can I make rails to select the database connection before working with a model? Thanks, Eduardo Bart -- You received this message because you are subscribed to the Google Groups &...