search for: cache_reset

Displaying 2 results from an estimated 2 matches for "cache_reset".

2006 Nov 16
1
Strange indexing issues with CachedModel, STI, and AAF
...{:strore => :yes}, :role => {}, }) def self.inheritance_column ''role'' end # methods below ..... end class FirstRecord < Record end class SecondRecord < Record end class ApplicationController < ActionController::Base after_filter { CachedModel.cache_reset } end Here''s my CachedModel setup: - config/environment.rb: # Include your application configuration below require ''cached_model'' CachedModel.use_local_cache = true - config/environments/development.rb (last line) CACHE = MemCache.new ''localhost:11211''...
2006 Feb 12
3
memcache-client/cached_model help
Hi - Just downloaded and installed the memcache-client and cached_model gems and am trying to test it out on a development setup. I added this to my environment/development.rb CACHE = MemCache.new :c_threshold => 10_000, :compression => true, :debug => true, :namespace => ''eztrip'',