Forum: Ruby on Rails Action Caching with memcached with config.cache_classes = true in development.rb/production.rb not w

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fb15e3fff908bd041a0b41903853e0c4?d=identicon&s=25 Ankit (Guest)
on 2010-10-27 22:17
(Received via mailing list)
When I put config.cache_classes = true in development.rb/
production.rb, index action is not cached in memcache stor, rather
local cache store is used. On putting config.cache_classes = false ,
action caching is working fine. In production we want
config.cache_classes = true, but then caching is not working.

Secondly, config.cache_store = :memcache in development.rb/
production.rb is also not working. I have to use
ActionController::Base.cache_store = :mem_cache_store, 'hostname:
11211' in application.rb to make it work.

I am using Rails 2.1. Any help would be highly appreciated.

Thanks
Ankit
This topic is locked and can not be replied to.