cache_fu
cache_fu copied to clipboard
cache_fu's config is conflict to config in rails3
when i do: rake db:migrate RAILS_ENV=development
then a error Occur: rake aborted! undefined method `cache_classes=' for #Hash:0x10107bd98
i check it,and got the cache_fu have a config module ActsAsCached @@config = {} mattr_reader :config
and the rails3 define it's config. EoeUnion::Application.configure do
Settings specified here will take precedence over those in config/environment.rb
In the development environment your application's code is reloaded on
every request. This slows down response time but is perfect for development
since you don't have to restart the webserver when you make code changes.
config.cache_classes = false
It looks like this error is being caused by the "config" method in tasks/memcached.rake; namespacing out the methods defined at the bottom of that file (config, config_args, and memcached) fixed this issue for me.