class method
self.instrument=
Ruby on Rails 4.0.13
Since v3.0.20 Last seen in v4.2.9Signature
self.instrument=(boolean)
Set to true if cache stores should be instrumented. Default is false.
Parameters
-
booleanreq
Source
# File activesupport/lib/active_support/cache.rb, line 185
def self.instrument=(boolean)
Thread.current[:instrument_cache_store] = boolean
end
Defined in activesupport/lib/active_support/cache.rb line 185
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store