Skip to content

Cannot cancel soft-deletion by before_destroy hook #1

@kyoma-takahashi

Description

@kyoma-takahashi

Thank you very much for very good plugin. The soft-deletion cannot be cancelled by returning false from #before_destroy. According to http://sequel.rubyforge.org/rdoc/files/doc/model_hooks_rdoc.html, Sequel uses a convention that if any before_* hook method returns false (but not nil), that the action will be canceled. Or, should I take another way to prevent the soft-deletion when using the plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions