This demo app demonstrates how easy it's to switch/use multiple DB in rails. Checkout the code in users_controller