Module: ActiveDecorator::Monkey::ActiveRecord::Associations::CollectionProxy
- Defined in:
- lib/active_decorator/monkey/active_record/associations.rb
Instance Method Summary collapse
Instance Method Details
#last(limit = nil) ⇒ Object
37 38 39 |
# File 'lib/active_decorator/monkey/active_record/associations.rb', line 37 def last(limit = nil) ActiveDecorator::Decorator.instance.decorate_association(@association.owner, super) end |
#take(limit = nil) ⇒ Object
32 33 34 |
# File 'lib/active_decorator/monkey/active_record/associations.rb', line 32 def take(limit = nil) ActiveDecorator::Decorator.instance.decorate_association(@association.owner, super) end |