Memcache reset on rails 2.3 with preload

Troex Nevelin list at
Thu Mar 10 12:16:56 EST 2011

What is a right code for resetting memcache connection in after_fork for 
Rails 2.3 with "preload_app true" on REE?

The only configurations about memcache in my app are:

ActionController::Base.session_store = :mem_cache_store

config.cache_store = :mem_cache_store

I tried:

But it fails to start, looks like this code is for Rails3 only

More information about the mongrel-unicorn mailing list