theAlmanac/crewait — pull request #10 by gmw (2011-10-11 16:15:40+00:00)
Title: Support for multiple databases

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.