Module: ActionFactory::ActiveRecord

Defined in:
lib/action_factory/active_record.rb

Defined Under Namespace

Modules: ClassMethods Classes: Association

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



27
28
29
30
31
32
# File 'lib/action_factory/active_record.rb', line 27

def self.included(base)
  base.extend ClassMethods
  base.class_exec do
    before_assign_attributes :build_associations
  end
end