Hacker News new | ask | show | jobs
by rowan_mcd 1487 days 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 gem which allows you to handle uniqueness validations in Rails in a similar manner to Ecto.