> uninitialized constant Page::ResponseCache
> 
> /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in
> `const_missing'
> (eval):6:in `clear_dynamic_ancestors_cache'


I think this is due to old code in Andrea Franz's DynamicPage extension. My 
version dates back to 0.6. The core reads:

      def clear_dynamic_ancestors_cache
        cache = ResponseCache.instance
        self.ancestors.each do |ancestor|
          cache.expire_response(ancestor.url) if ancestor.class_name == 
'DynamicPage'
        end
      end


I read in the CHANGELOG:

* Deprecate ResponseCache, add Radiant::Cache based on Rack::Cache.


I looked for an update, and found Andrea's page at www.gravityblast.com 
(http://gravityblast.com/projects/radiant-page-utilities/) but the svn 
instructions just don't work.


I looked for DynamicPage on the extensions page, but don't see it.


Is there another way to achieve the same result as DynamicPage?

What's the appropriate way to update the code to work with RadiantCache?


Earl


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to