instance method
normalize_key
Ruby on Rails 6.0.6
Since v5.2.8.1 Private — implementation detail, not part of the public APISignature
normalize_key(key, options = nil)
Expands and namespaces the cache key. May be overridden by cache stores to do additional normalization.
Parameters
-
keyreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache.rb, line 621
def normalize_key(key, options = nil)
namespace_key expanded_key(key), options
end
Defined in activesupport/lib/active_support/cache.rb line 621
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store