Multiple db instances for a single ROR Application

Hi All:

We have a Rails application with a production db available to all as a
single instance. Now, we want it to be accessible to multiple users with
their seperate instance of db, keeping the code same (common) to all.
What is the best way to achieve this?

TIA,

Regards,
Priya Saini