No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead of osheroff:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.document
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
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. 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_pooling

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

Copyright

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

Authors

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