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
@talexu I am not experiencing that when it is wrapped in a Transaction.
Any other parts of your code that you can show which may be helpful?
How about just calling delete on a single instance?
EDIT: I found a workaround for my case. When I put acts_as_paranoid after composite_primary_keys in the Gemfile, it works. Presumably because it changes the load order of the gems. 😄
Hi, I have an issue about delete_all in transaction.
Here is a piece of my code
And I found that it generates a SQL of
The expectation should be
Is this a bug or is there any issue in my code?
Thanks.
The text was updated successfully, but these errors were encountered: