diff options
author | Michael Grosser <michael@grosser.it> | 2015-11-10 09:13:54 -0800 |
---|---|---|
committer | Michael Grosser <michael@grosser.it> | 2015-11-10 21:17:23 -0800 |
commit | f6bc5acf1006ef4c6cac03aee4b76d62e54465d4 (patch) | |
tree | 1af491b430ddd2bf342a9c81dcc9762532a2794a /activesupport/lib/active_support/cache.rb | |
parent | a481f07817eb0ea3ea1e4dee07ce4fe7aa865bac (diff) | |
download | rails-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.rb | 1 |
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})"}" } |