public
Description: Everyone's favorite memcached plugin for ActiveRecord.
Homepage: http://errtheblog.com
Clone URL: git://github.com/defunkt/cache_fu.git
dont override ActionView::Helpers::CacheHelper#cache for rails 2.1+ by 
checking for ActionView::Template
technoweenie (author)
Sat Mar 22 19:44:26 -0700 2008
commit  a5e937a4a52c710318752d6870fbe1a49a7c2338
tree    2698e8f868a6f8da99983e8ac312ca7bcfc7c25e
parent  7b059349b40e567e31463f3b3c5883c60e765b65
...
16
17
18
19
 
20
21
22
...
16
17
18
 
19
20
21
22
0
@@ -16,7 +16,7 @@ module ActsAsCached
0
         def cache(name = {}, options = nil, &block)
0
           @controller.cache_erb_fragment(block, name, options)
0
         end
0
- end
0
+ end unless ::ActionView.const_defined?(:Template)
0
       ::ActionController::Base.fragment_cache_store = CACHE
0
     end
0
 

Comments

    No one has commented yet.