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