Module: Clearance::User::AttrAccessor

Defined in:
lib/clearance/user.rb

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object

Hook for attr_accessor virtual attributes.

:password, :password_confirmation



35
36
37
38
39
# File 'lib/clearance/user.rb', line 35

def self.included(model)
  model.class_eval do
    attr_accessor :password, :password_confirmation
  end
end