Module: Clearance::User
- Defined in:
- lib/clearance/user.rb
Defined Under Namespace
Modules: AttrAccessible, AttrAccessor, Callbacks, ClassMethods, InstanceMethods, Validations
Class Method Summary collapse
-
.included(model) ⇒ Object
Hook for all Clearance::User modules.
Class Method Details
.included(model) ⇒ Object
Hook for all Clearance::User modules.
If you need to override parts of Clearance::User, extend and include à la carte.
23 24 25 26 27 28 29 30 31 |
# File 'lib/clearance/user.rb', line 23 def self.included(model) model.extend(ClassMethods) model.send(:include, InstanceMethods) model.send(:include, AttrAccessible) model.send(:include, AttrAccessor) model.send(:include, Validations) model.send(:include, Callbacks) end |