Module: BlueLightSpecial::User::AttrAccessor
- Defined in:
- lib/blue_light_special/user.rb
Class Method Summary collapse
-
.included(model) ⇒ Object
Hook for attr_accessor virtual attributes.
Class Method Details
.included(model) ⇒ Object
Hook for attr_accessor virtual attributes.
:password, :password_confirmation
38 39 40 41 42 |
# File 'lib/blue_light_special/user.rb', line 38 def self.included(model) model.class_eval do attr_accessor :password, :password_confirmation end end |