Module: ActiveDecorator::RelationDecoratorLegacy
- Defined in:
- lib/active_decorator/decorator.rb
Overview
For AR 3 and 4
Instance Method Summary collapse
Instance Method Details
#to_a ⇒ Object
85 86 87 88 89 |
# File 'lib/active_decorator/decorator.rb', line 85 def to_a super.tap do |arr| ActiveDecorator::Decorator.instance.decorate arr end end |