<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -94,6 +94,13 @@ add your own keys to the expiration list.
 		// do something
 	&lt;% end %&gt;
 
+**ATTENTION:** To activate controller and view cache support, you have to set
+`ActionController::Base.perform_caching` to `true` on your environment 
+configuration file.
+
+	# config/environments/development.rb
+	config.action_controller.perform_caching = true
+
 MAINTAINER
 ----------
 </diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -61,7 +61,7 @@ module SimplesIdeias::Cached::ActionPack
             render :text =&gt; contents, :layout =&gt; !cache_layout
           end
           
-          Cache.write(key, contents, options)
+          Cache.write(key, contents, options) if ActionController::Base.perform_caching
         end
       end
     end
@@ -82,7 +82,11 @@ module SimplesIdeias::Cached::ActionPack
         cache_name = File.join('block', *cache_name.to_s.split('/'))
         
         # Executes the block if no cache was found
-        concat Cache.fetch(cache_name, options) { capture(&amp;block) }, block.binding
+        if ActionController::Base.perform_caching
+          concat Cache.fetch(cache_name, options) { capture(&amp;block) }, block.binding
+        else
+          concat capture(&amp;block), block.binding
+        end
       end
     end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/action_pack.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>18ae60ebd6fa0a7dee745d24f8d493f6e6371159</id>
    </parent>
  </parents>
  <author>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </author>
  <url>http://github.com/fnando/has_cache/commit/24e8ebcfc11d64eeec889e6e10291c8037443192</url>
  <id>24e8ebcfc11d64eeec889e6e10291c8037443192</id>
  <committed-date>2008-10-28T16:20:51-07:00</committed-date>
  <authored-date>2008-10-28T16:20:51-07:00</authored-date>
  <message>ActionController::Base.perform_caching determines if controller/view cache will be activated. Check README for details.</message>
  <tree>ee7a7e56fd108d30e83dacbf693094499d78abd8</tree>
  <committer>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </committer>
</commit>
