Mongoid provides several options to change which mongodb database is being used, either by specifying the new database or changing the session name to one that is already defined in the mongoid.yml file.
I was wondering if there is a way to change the session (ie mongodb host) while running the application.
So for example, if I started my application and it initially works off the main database on server 1, is there a way to say use the sample database on server 2