From f6bc5acf1006ef4c6cac03aee4b76d62e54465d4 Mon Sep 17 00:00:00 2001 From: Michael Grosser Date: Tue, 10 Nov 2015 09:13:54 -0800 Subject: keep deprecated namespaced_key in case any subclass uses it --- activesupport/lib/active_support/cache.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib/active_support/cache.rb') 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})"}" } -- cgit v1.2.3