multi_db with transactions #15

Open
ran5000 opened this Issue Dec 22, 2011 · 0 comments

1 participant

@ran5000

I've recently installed the multi_db gem on my rails 2.3.10 app in order to use a MySql master/slave replication.

since installing the gem, every time I use transactions in my code , e.g.:

MyModel.connection.transaction do

...some code...

end

I get an exception: NoMethodError undefined method 'assert_valid_keys' for true:TrueClass

any ideas on how to use multi_db with transactions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment