Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IceskYsl opened this issue Apr 20, 2010 · 1 comment
Open

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

IceskYsl opened this issue Apr 20, 2010 · 1 comment

Comments

@IceskYsl
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants