Skip to content

Restoring a record does not take into account ActiveRecord validations #285

@spint

Description

@spint

Since version 2.1.4, (uniqueness) validations checks only non-deleted records.
However, restoring a record that violates a Rails uniqueness constraint passes without an error.
Shouldn't the validations be considered before saving the restored record to the database?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions