instance method
local_cache_key
Ruby on Rails 4.2.9
Since v4.0.13 PrivateSignature
local_cache_key()
No documentation comment.
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 137
def local_cache_key
@local_cache_key ||= "#{self.class.name.underscore}_local_cache_#{object_id}".gsub(/[\/-]/, '_').to_sym
end
Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 137
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache