You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: