<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,5 +8,10 @@ module Ramaze
 
   class Cache
     autoload :MemCache, 'ramaze/cache/memcache'
+
+    def self.clear_after_reload
+      action.clear if respond_to?(:action)
+      action_value.clear if respond_to?(:action_value)
+    end
   end
 end</diff>
      <filename>lib/ramaze/cache.rb</filename>
    </modified>
    <modified>
      <diff>@@ -151,9 +151,7 @@ module Ramaze
       # Overwrite to add actions after a file is Kernel::load-ed successfully,
       # by default we clean the Cache for compiled templates and resolved actions.
       def after_safe_load_succeed(file)
-        Ramaze::Cache.compiled.clear
-        Ramaze::Cache.resolved.clear
-        Ramaze::Cache.action_methods.clear
+        Cache.clear_after_reload
         after_safe_load(file)
       end
 </diff>
      <filename>lib/ramaze/reloader.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>88ffe02e24ab24f7a35a0f1291ba746f316cbc79</id>
    </parent>
  </parents>
  <author>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </author>
  <url>http://github.com/manveru/ramaze/commit/154a67b808c591b2e91f28b03e6647d077fca7c7</url>
  <id>154a67b808c591b2e91f28b03e6647d077fca7c7</id>
  <committed-date>2009-03-01T20:11:22-08:00</committed-date>
  <authored-date>2009-03-01T20:11:22-08:00</authored-date>
  <message>Prevent reloader from failing for deprecated caches</message>
  <tree>ec04f297c4c2be1839bcdddf44c615b4c865e422</tree>
  <committer>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </committer>
</commit>
