Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple databases #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support for multiple databases #10

wants to merge 1 commit into from

Conversation

gmw
Copy link

@gmw gmw commented Oct 11, 2011

Hi,

I've made some tiny patches to allow for batch inserts against multiple databases. If you're interested, pull them in to the official source!

The database connection is now grabbed from self (in the next_insert_id
method) and from the model class in the HashMethods module. This is
needed when you have more than one database in your Rails (or anything
else that uses ActiveRecord) app.

…ction

The database connection is now grabbed from self (in the next_insert_id
method) and from the model class in the HashMethods module. This is
needed when you have more than one database in your Rails (or anything
else that uses ActiveRecord) app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant