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
This does however assume that the field against which the uniqueness is being tested does not have the random_iv: true option set. The encrypted value will always be unique in that case even if the decrypted value is the same.
A pull request with such a change will be very useful, as I have no doubt others have the same need.
Validates uniqueness appears to work, although:
Could this be solved by a custom validator such as "validates :field, :encrypted_uniqueness => true"
Thoughts?
The text was updated successfully, but these errors were encountered: