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

multi_db with transactions #15

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

multi_db with transactions #15

ran5000 opened this issue Dec 22, 2011 · 0 comments

Comments

@ran5000
Copy link

ran5000 commented Dec 22, 2011

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant