Module: ActiveLayer::Attributes

Extended by:
ActiveSupport::Concern
Includes:
Proxy
Included in:
ActiveRecord
Defined in:
lib/active_layer/attributes.rb

Overview

Adds the ability to pass attributes to the ActiveLayer Object.

- Provides support for 'attr_accessible' class method to only allow certain attributes through
    - By default all attributes are filter out -> opt in model
    - You can enable all attributes passed through with 'all_attributes_accessible!'
- Hooks into the ActiveLayer::Persistence module to tie in with the update_attributes
    - To enable this functionality, it must be inluded after the Persistence module

Defined Under Namespace

Modules: ClassMethods, InstanceMethods