aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2016-11-13 22:15:45 +0000
committerAndrew White <andrew.white@unboxed.co>2016-11-13 22:15:45 +0000
commitefdb785d7fb791f9968242efe96fe3ae4538b38e (patch)
tree74e307a689e83895fb23c089432ca198fcb2cb2e /activesupport/lib/active_support/cache
parent08260c2373db50e2bf0e919282f8921542acb854 (diff)
downloadrails-efdb785d7fb791f9968242efe96fe3ae4538b38e.tar.gz
rails-efdb785d7fb791f9968242efe96fe3ae4538b38e.tar.bz2
rails-efdb785d7fb791f9968242efe96fe3ae4538b38e.zip
Remove deprecated escape_key
Diffstat (limited to 'activesupport/lib/active_support/cache')
-rw-r--r--activesupport/lib/active_support/cache/mem_cache_store.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb
index 00f4480308..15f82317bd 100644
--- a/activesupport/lib/active_support/cache/mem_cache_store.rb
+++ b/activesupport/lib/active_support/cache/mem_cache_store.rb
@@ -181,14 +181,6 @@ module ActiveSupport
key
end
- def escape_key(key)
- ActiveSupport::Deprecation.warn(<<-MESSAGE.strip_heredoc)
- `escape_key` is deprecated and will be removed from Rails 5.1.
- Please use `normalize_key` which will return a fully resolved key or nothing.
- MESSAGE
- key
- end
-
def deserialize_entry(raw_value)
if raw_value
entry = Marshal.load(raw_value) rescue raw_value