<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,6 +11,11 @@ module Conovae
 			base.send(:cattr_accessor, :smart_cache_filename)   # cached filename on filesystem
 			base.send(:cattr_accessor, :smart_cache_lock_timeout)   # cached filename on filesystem
 
+			# initiate variables
+			base.smart_cache_lock_timeout ||= 2
+			base.smart_cache_pages_keys ||= {}
+			base.smart_cache_filename = nil
+
 		end
 
 		module ClassMethods
@@ -20,8 +25,6 @@ module Conovae
 				self.caches_page(*actions)
 				actions = actions.map(&amp;:to_s)
 
-				self.smart_cache_pages_keys ||= {}
-
 				self.smart_cache_pages_keys.has_key?(self.name) ? self.smart_cache_pages_keys[self.name].concat(actions) : self.smart_cache_pages_keys[self.name] = actions
 			end
 
@@ -63,11 +66,6 @@ module Conovae
 		def smart_cache_check
 			return unless perform_caching
 
-			# initiate variables
-			self.smart_cache_lock_timeout ||= 2
-			self.smart_cache_pages_keys ||= {}
-			self.smart_cache_filename = nil
-
 			if params[:cache] or  
 				(smart_cache_pages_keys.is_a? Hash and 
 				smart_cache_pages_keys.has_key?(self.class.to_s) and </diff>
      <filename>lib/caches_page_fix.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7204ee905554f4b131cb17b90ea4752455c936f4</id>
    </parent>
  </parents>
  <author>
    <name>Penso Fabien</name>
    <email>penso@moonboot.(none)</email>
  </author>
  <url>http://github.com/penso/caches_page_fix/commit/a3f29fadd89808d9198cd4616fa6e90ac07f95c5</url>
  <id>a3f29fadd89808d9198cd4616fa6e90ac07f95c5</id>
  <committed-date>2008-05-25T04:05:20-07:00</committed-date>
  <authored-date>2008-05-25T04:05:20-07:00</authored-date>
  <message>moved init of variables</message>
  <tree>47ef4d18f3b4d410a490ce8d046a29a6c60479d5</tree>
  <committer>
    <name>Penso Fabien</name>
    <email>penso@moonboot.(none)</email>
  </committer>
</commit>
