instance method
escape_key
Ruby on Rails 5.0.7.2
Since v3.0.20 Last seen in v5.0.7.2 Private — implementation detail, not part of the public APISignature
escape_key(key)
No documentation comment.
Parameters
-
keyreq
Source
# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 184
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
Defined in activesupport/lib/active_support/cache/mem_cache_store.rb line 184
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::MemCacheStore