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



54
55
56
57
58
# File 'lib/clearance/user.rb', line 54

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