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

Association is not restored when using dependent: :destroy_async #507

Open
pomartel opened this issue Feb 8, 2021 · 1 comment
Open
Labels

Comments

@pomartel
Copy link

pomartel commented Feb 8, 2021

Rails 6.1 introduces the new option dependent: :destroy_async (see rails/rails#40157). When using Paranoia, the associations are soft deleted in the background job as they should be but are not restored properly.

@mathieujobin
Copy link
Collaborator

hmm
That seems critical to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants