blob: 22ad1a3c3dc12463752de002a7d544d920e88d5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
class Visitor
extend ActiveModel::Callbacks
include ActiveModel::SecurePassword
define_model_callbacks :create
has_secure_password(validations: false)
attr_accessor :password_digest, :password_confirmation
end
|