From d5aef168605b6d4588cbe0ea97408a683eece8bc Mon Sep 17 00:00:00 2001 From: Taylor Griffin Date: Thu, 15 Jan 2015 21:35:10 +1100 Subject: [PATCH] add comment --- app/helpers/application_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0b9b906f2..5e1264b4a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -24,6 +24,7 @@ module ApplicationHelper :target => "_blank" end + # Produces a cache key for uniquely identifying cached fragments. def cache_key_for(klass, identifier="all") count = klass.count max_updated_at = klass.maximum(:updated_at).try(:utc).try(:to_s, :number)