Login
Roast topics
Find topics
Find it!
From:
Leigh Halliday's RSS Feed
(Uncensored)
subscribe
Requiring Uniqueness in Rails
https://www.leighhalliday.com/requiring-uniqueness-in-rails
links
backlinks
Tagged with:
ruby-on-rails
Roast topics
Find topics
Roast it!
How to ensure your values are unique It's often the case that you want to ensure that you've got uniqueness in your data. You only want an email address to be used once... otherwise what would happen when that person tries to log in? Which user…