Module: ActiveDecorator::Monkey::ActiveRecord::AssociationRelation

Defined in:
lib/active_decorator/monkey/active_record/associations.rb

Instance Method Summary collapse

Instance Method Details

#spawnObject



55
56
57
# File 'lib/active_decorator/monkey/active_record/associations.rb', line 55

def spawn(*)
  ActiveDecorator::Decorator.instance.decorate_association(@association.owner, super)
end