Method: ActionView::LogSubscriber#render_collection
- Defined in:
- actionview/lib/action_view/log_subscriber.rb
#render_collection(event) ⇒ Object
45 46 47 48 49 50 51 52 53 54 |
# File 'actionview/lib/action_view/log_subscriber.rb', line 45 def render_collection(event) identifier = event.payload[:identifier] || "templates" debug do = +" Rendered collection of #{from_rails_root(identifier)}" << " within #{from_rails_root(event.payload[:layout])}" if event.payload[:layout] << " #{render_count(event.payload)} (Duration: #{event.duration.round(1)}ms | GC: #{event.gc_time.round(1)}ms)" end end |