diff options
author | Brian Durand <brian@embellishedvisions.com> | 2011-12-12 13:40:29 -0600 |
---|---|---|
committer | Brian Durand <brian@embellishedvisions.com> | 2011-12-12 13:40:29 -0600 |
commit | 04d5eae4e835ead8ef785de4eb442893426f4b29 (patch) | |
tree | 3ce45567f9f9a64d88278f58e0907efbb558a5db /activesupport/lib/active_support/cache.rb | |
parent | 2fdc3ab0f10c6614f37621847ff92e8e17283df5 (diff) | |
download | rails-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.rb | 1 |
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. |