method

render_count

Importance_0
v6.0.0 - Show latest stable - 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 69
    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.