aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache/null_store.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/cache/null_store.rb')
-rw-r--r--activesupport/lib/active_support/cache/null_store.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/cache/null_store.rb b/activesupport/lib/active_support/cache/null_store.rb
index 1a5983db43..405d485671 100644
--- a/activesupport/lib/active_support/cache/null_store.rb
+++ b/activesupport/lib/active_support/cache/null_store.rb
@@ -12,6 +12,13 @@ module ActiveSupport
class NullStore < Store
prepend Strategy::LocalCache
+ # Advertise that this cache store can be used
+ # with "recyclable cache keys" otherwise known
+ # as cache versioning.
+ def supports_in_cache_versioning?
+ true
+ end
+
def clear(options = nil)
end