This is a plugin for RubyOnRails which allows to change the database connection dynamically depending on request parameters.