Re:Ecto's uniqueness constraint vs. Rails' uniqueness valida...
by rowan_mcd on Saturday May 21, 2022 @04:27PM
(#31461491)
Love this post, great exploration of the nuances of uniqueness validations.
I came here to mention that there is also the https://github.com/toptal/database_validations gem which allows you to handle uniqueness validations in Rails in a similar manner to Ecto.
I came here to mention that there is also the https://github.com/toptal/database_validations gem which allows you to handle uniqueness validations in Rails in a similar manner to Ecto.