instance method
normalize_key
Ruby on Rails 6.1.7.10
Since v5.2.8.1 Last seen in v8.0.4 PrivateSignature
normalize_key(key, options)
Truncate keys that exceed 1kB.
Parameters
-
keyreq -
optionsreq
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 441
def normalize_key(key, options)
truncate_key super&.b
end
Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 441
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::RedisCacheStore