You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?