Skip to content

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

@pomartel

Description

@pomartel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions