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
What I was expecting to happen was that it would trigger an "email is already taken" validation error because I have without_default_scope: true, so it should check against all clients, not just the non-deleted ones.
Is this what should be happening and something is wrong, or am I incorrect and need to do something else to validate against all clients.
I'm using:
Ruby 3.3.0
Rails 7.1.3.2
Paranoia 2.6.3
The text was updated successfully, but these errors were encountered:
Given the following:
If I try and create a new client with the same email as a "deleted" client I get the following error:
What I was expecting to happen was that it would trigger an "email is already taken" validation error because I have
without_default_scope: true
, so it should check against all clients, not just the non-deleted ones.Is this what should be happening and something is wrong, or am I incorrect and need to do something else to validate against all clients.
I'm using:
Ruby 3.3.0
Rails 7.1.3.2
Paranoia 2.6.3
The text was updated successfully, but these errors were encountered: