method

render_count

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionView::LogSubscriber
render_count(payload) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/log_subscriber.rb, line 109
    def render_count(payload) # :doc:
      if payload[:cache_hits]
        "[#{payload[:cache_hits]} / #{payload[:count]} cache hits]"
      else
        "[#{payload[:count]} times]"
      end
    end
Register or log in to add new notes.