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

NoMethodError undefined method 'assert_valid_keys' for true:TrueClass #16

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

Comments

@ran5000
Copy link

ran5000 commented Dec 23, 2011

iv'e found something interesting, ever since i've installed multi_db

MyModel.connection.transaction do
test = 1+2
end
return the following exception (in most cases): NoMethodError undefined method 'assert_valid_keys' for true:TrueClass

but if i run:

MyModel.connection.transaction({}) do
test = 1+2
end
everything runs smoothly.

my gut filling tells me that multi_db (which is based on masochism gem) doesnt "play nice" with one of the other gems im using ( maybe: deadlock_retry or ar-extensions).

any ideas?

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