Have access to multiple databases
|Added at||2017-01-05 05:01|
I am developing an application that at the beginning the user can select which database to connect to. It is a Rails application which uses Active-Record for database access. Usually, a Rails application is configured to connect to a specific database and then not change which database it is connected to. How can an application which is using Active-Record select its database on the fly?