Module: ActiveDecorator::RelationDecorator
- Defined in:
- lib/active_decorator/decorator.rb
Overview
For AR 5+
Instance Method Summary collapse
Instance Method Details
#records ⇒ Object
101 102 103 104 105 |
# File 'lib/active_decorator/decorator.rb', line 101 def records super.tap do |arr| ActiveDecorator::Decorator.instance.decorate arr end end |