def initialize super # options parameter has been removed extend Strategy::LocalCache endand this is the call
# config/environments/development.rb require 'vendor/gems/activesupport/cache/null_store.rb' # could also go in environment.rb # [...] config.cache_store = :null_store # In Rails 3 it's simply :null
Update for rails 2.3.18:
Have your file in lib, rather than vendor/gems and have it referenced with full path, something like this:
require "#{Rails.root}/lib/activesupport/cache/null_store.rb"
If every other attempt fail, how about redirecting the cache to dev/null?
config.cache_store = :file_store, "/dev/null"
No comments:
Post a Comment