mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8 lines
161 B
Ruby
8 lines
161 B
Ruby
class User
|
|
include ActiveModel::Validations
|
|
include ActiveModel::SecurePassword
|
|
|
|
has_secure_password
|
|
|
|
attr_accessor :password_digest, :password_salt
|
|
end
|