4 ms·
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_va
by rowan_mcd 4y ago
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 https://github.com/toptal/database_validations gem which allows you to handle uniqueness validations in Rails in a similar manner to Ecto.