instance method
thread_local_key
Ruby on Rails 3.2.22.5
Since v2.3.18 Last seen in v3.2.22.5 PrivateSignature
thread_local_key()
No documentation comment.
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 149
def thread_local_key
@thread_local_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 149
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache