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
92 93 94 95 96 |
# File 'lib/active_decorator/decorator.rb', line 92 def to_a super.tap do |arr| ActiveDecorator::Decorator.instance.decorate arr end end |