From 19895f087c338d8385dff9d272d30fb87cb10330 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Tue, 10 Jun 2008 10:29:25 +0100 Subject: Lazy load cache and session stores --- activesupport/lib/active_support/cache/drb_store.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib/active_support/cache') diff --git a/activesupport/lib/active_support/cache/drb_store.rb b/activesupport/lib/active_support/cache/drb_store.rb index b80c2ee4d5..f06f08f566 100644 --- a/activesupport/lib/active_support/cache/drb_store.rb +++ b/activesupport/lib/active_support/cache/drb_store.rb @@ -1,4 +1,5 @@ require 'drb' +require 'active_support/cache/memory_store' module ActiveSupport module Cache -- cgit v1.2.3 From dd4181f47dc0f166eb5d3e47a4a0dc1594cc5669 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Thu, 12 Jun 2008 14:20:30 -0500 Subject: Ensure MemCacheStore is required when using CompressedMemCacheStore since they are lazy load now. --- activesupport/lib/active_support/cache/compressed_mem_cache_store.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activesupport/lib/active_support/cache') diff --git a/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb b/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb index 9470ac9f66..3f1f9ad179 100644 --- a/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +++ b/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb @@ -1,3 +1,5 @@ +require "active_support/cache/mem_cache_store" + module ActiveSupport module Cache class CompressedMemCacheStore < MemCacheStore -- cgit v1.2.3