ActiveRecord host pooling

This gem allows for one ActiveRecord connection to be used to connect to multiple databases on a server. It accomplishes this by calling select_db() as necessary to switch databases between database calls.

Support

For now, the only backend known to work is mysql (and not with the mysql2 library, yet).
Postgres, from an informal reading of the docs, will never support the concept of one server connection sharing multiple dbs.

Installation

$ gem install active_record_host_pool

and make sure to require 'active_record_host_pool' in some way.

Copyright (c) 2011 Zendesk. See LICENSE for details.

Authors

Ben Osheroff [email protected],
Mick Staugaard [email protected]