aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache.rb
diff options
context:
space:
mode:
authorBrian Durand <brian@embellishedvisions.com>2011-12-12 13:40:29 -0600
committerBrian Durand <brian@embellishedvisions.com>2011-12-12 13:40:29 -0600
commit04d5eae4e835ead8ef785de4eb442893426f4b29 (patch)
tree3ce45567f9f9a64d88278f58e0907efbb558a5db /activesupport/lib/active_support/cache.rb
parent2fdc3ab0f10c6614f37621847ff92e8e17283df5 (diff)
downloadrails-04d5eae4e835ead8ef785de4eb442893426f4b29.tar.gz
rails-04d5eae4e835ead8ef785de4eb442893426f4b29.tar.bz2
rails-04d5eae4e835ead8ef785de4eb442893426f4b29.zip
Add ActiveSupport::Cache::NullStore to expose caching interface without actually caching for development and test environments.
Diffstat (limited to 'activesupport/lib/active_support/cache.rb')
-rw-r--r--activesupport/lib/active_support/cache.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 07f5fcdeb3..9711ed6f73 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -16,6 +16,7 @@ module ActiveSupport
autoload :FileStore, 'active_support/cache/file_store'
autoload :MemoryStore, 'active_support/cache/memory_store'
autoload :MemCacheStore, 'active_support/cache/mem_cache_store'
+ autoload :NullStore, 'active_support/cache/null_store'
# These options mean something to all cache implementations. Individual cache
# implementations may support additional options.