-
Notifications
You must be signed in to change notification settings - Fork 196
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
SystemStackError when deleting a non-paranoid model #93
Labels
Comments
Check in your |
I'm running into a similar issue in our codebase which appears to be a conflict between
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rails 5.0.6, Ruby 2.3.1.
Models that are "paranoid" (
acts_as_paranoid
is called in the body of the model) are soft-deleted just fine.However, calling
destroy
on any other model results inSystemStackError (stack level too deep):
referencing the line of code wheredestroy
was called on the model. I confirmed that removing theacts_as_paranoid
from the project returns destroying to the expected behavior.The text was updated successfully, but these errors were encountered: