aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache.rb
diff options
context:
space:
mode:
authorMichael Grosser <michael@grosser.it>2015-11-10 09:13:54 -0800
committerMichael Grosser <michael@grosser.it>2015-11-10 21:17:23 -0800
commitf6bc5acf1006ef4c6cac03aee4b76d62e54465d4 (patch)
tree1af491b430ddd2bf342a9c81dcc9762532a2794a /activesupport/lib/active_support/cache.rb
parenta481f07817eb0ea3ea1e4dee07ce4fe7aa865bac (diff)
downloadrails-f6bc5acf1006ef4c6cac03aee4b76d62e54465d4.tar.gz
rails-f6bc5acf1006ef4c6cac03aee4b76d62e54465d4.tar.bz2
rails-f6bc5acf1006ef4c6cac03aee4b76d62e54465d4.zip
keep deprecated namespaced_key in case any subclass uses it
Diffstat (limited to 'activesupport/lib/active_support/cache.rb')
-rw-r--r--activesupport/lib/active_support/cache.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index e6482e5bd0..402a35e198 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -536,6 +536,7 @@ module ActiveSupport
key = "#{prefix}:#{key}" if prefix
key
end
+ alias namespaced_key normalize_key
def instrument(operation, key, options = nil)
log { "Cache #{operation}: #{normalize_key(key, options)}#{options.blank? ? "" : " (#{options.inspect})"}" }