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
87 88 89 90 91 |
# File 'lib/active_decorator/decorator.rb', line 87 def to_a super.tap do |arr| ActiveDecorator::Decorator.instance.decorate arr end end |