class ActionView::LogSubscriber
def render_count(payload) # :doc:
def render_count(payload) # :doc: if payload[:cache_hits] "[#{payload[:cache_hits]} / #{payload[:count]} cache hits]" else "[#{payload[:count]} times]" end end
def render_count(payload) # :doc: if payload[:cache_hits] "[#{payload[:cache_hits]} / #{payload[:count]} cache hits]" else "[#{payload[:count]} times]" end end