Module: Headstart::User::AttrAccessor

Defined in:
lib/headstart/user.rb

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object

Hook for attr_accessor virtual attributes.

:password, :password_confirmation



38
39
40
41
42
# File 'lib/headstart/user.rb', line 38

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