instance method thread_local_key

Ruby on Rails 3.0.20

Since v2.3.18 Last seen in v3.2.22.5 Private

Available in: v2.3.18 v3.0.20 v3.1.12 v3.2.22.5

Signature

thread_local_key()

No documentation comment.

Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 144
          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 144 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::Strategy::LocalCache

Type at least 2 characters to search.

↑↓ navigate · open · esc close