The framework Ruby on Rails isn't designed to manage multiple databases at the same time, anyway a wonderful gem Octopus allows to manage multiple dbs in a transparent and clean way
Simple use case: Data DB and Admin DB
Many web applications have accounts, permissions, logging and some