class NullStore
Ruby on Rails 5.2.8.1
Since v3.2.22.5A cache store implementation which doesn’t actually store anything. Useful in development and test environments where you don’t want caching turned on but need to go through the caching interface.
This cache does implement the local cache strategy, so values will actually be cached inside blocks that utilize this strategy. See ActiveSupport::Cache::Strategy::LocalCache for more details.
Inherits from
Methods (defined here)
- # cleanup
- # clear
- # decrement
- # delete_matched
- # increment
Private methods
(3)
Implementation detail — not part of the public API.
Methods (inherited)
From ActiveSupport::Cache::Store (16)
- # cleanup
- # clear
- # decrement
- # delete
- # delete_matched
- # exist?
- # fetch
- # fetch_multi
- # increment
- # mute
- # read
- # read_multi
- # silence!
- # write
- # write_multi
- self. new
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options