rubysherpas / paranoia

acts_as_paranoid for Rails 5, 6 and 7
Other
2.87k stars 524 forks source link

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

Open pomartel opened 3 years ago

pomartel commented 3 years ago

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 commented 2 years ago

hmm That seems critical to me