No description, website, or topics provided.
Ruby
Pull request Compare This branch is 116 commits behind zendesk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gemfiles
lib
test
.document
.gitignore
Appraisals
Gemfile
LICENSE
README.md
Rakefile
VERSION
active_record_host_pool.gemspec

README.md

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

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

Authors

Ben Osheroff ben@gimbo.net,
Mick Staugaard mick@staugaard.com