method
instrument
rails latest stable - Class:
ActiveSupport::Cache::Store
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.
instrument()public
:deprecated:
# File activesupport/lib/active_support/cache.rb, line 189
def self.instrument
ActiveSupport::Deprecation.warn "ActiveSupport::Cache.instrument is deprecated and will be removed in Rails 5. Instrumentation is now always on so you can safely stop using it."
true
end Related methods
- Instance methods
- cleanup
- clear
- decrement
- delete
- delete_matched
- exist?
- fetch
- fetch_multi
- increment
- mute
- read
- read_multi
- silence!
- write
- Class methods
- instrument
- instrument=
- new
- Protected methods
-
delete_entry -
key_matcher -
read_entry -
write_entry - Private methods
-
expanded_key -
find_cached_entry -
get_entry_value -
handle_expired_entry -
instrument -
log -
merged_options -
namespaced_key -
save_block_result_to_cache