mperham/dalli — Issue #174: how to store a Mechanize instance into dalli?
Author: emsdog
Created: 2012-02-26 14:20:59+00:00
State: open

I'm a new railser, I debug code as below:
---------------------------------------------
dc = Dalli::Client.new('localhost:11211')
client = Mechanize.new
dc.set("aclient",client)
client_from_dalli = dc.get("client")
---------------------------------------------
I found that 'client_from_dalli' is nil. I am not sure Whether Mechanize instance can store into Memcached ?

In java, all Object implements Interface serializable can store into memcached. How can I store the Mechanize instance into Memcached through dalli?

any ideas? thank you very much!