instance method
render_collection
Ruby on Rails 6.0.6
Since v3.0.20 Last seen in v8.0.4Signature
render_collection(event)
No documentation comment.
Parameters
-
eventreq
Source
# File actionview/lib/action_view/log_subscriber.rb, line 35
def render_collection(event)
identifier = event.payload[:identifier] || "templates"
info do
" Rendered collection of #{from_rails_root(identifier)}" \
" #{render_count(event.payload)} (Duration: #{event.duration.round(1)}ms | Allocations: #{event.allocations})"
end
end
Defined in actionview/lib/action_view/log_subscriber.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::LogSubscriber