class NullStore
Ruby on Rails 8.0.4
Since v3.2.22.5Null Cache Store
A 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
- self. supports_cache_versioning?
Private methods
(5)
Implementation detail — not part of the public API.
Methods (inherited)
From ActiveSupport::Cache::Store (17)
- # cleanup
- # clear
- # decrement
- # delete
- # delete_matched
- # delete_multi
- # 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!
- # with
- # with_options
From ActiveSupport::NumericWithFormat (2)
- # to_formatted_s
- # to_fs