1 2 3 4 5 6 7 8
class User include ActiveModel::Validations include ActiveModel::SecurePassword has_secure_password attr_accessor :password_digest, :password_salt end