method
render_count
v7.0.0 -
Show latest stable
- Class:
ActionView::LogSubscriber
render_count(payload)private
No documentation available.
# File actionview/lib/action_view/log_subscriber.rb, line 75
def render_count(payload) # :doc:
if payload[:cache_hits]
"[#{payload[:cache_hits]} / #{payload[:count]} cache hits]"
else
"[#{payload[:count]} times]"
end
end