Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

cache_fu's config is conflict to config in rails3 #5

IceskYsl opened this Issue Apr 20, 2010 · 1 comment


None yet
2 participants

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

ahwatts commented Sep 22, 2010

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment