Skip to content

Instantly share code, notes, and snippets.

@jordanhudgens
Created June 9, 2018 23:14
Show Gist options
  • Save jordanhudgens/6059b742b8a7ac8f9569f8688893deff to your computer and use it in GitHub Desktop.
Save jordanhudgens/6059b742b8a7ac8f9569f8688893deff to your computer and use it in GitHub Desktop.
class User < ApplicationRecord
has_secure_password
validates_uniqueness_of :email
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment