Displaying 1 result from an estimated 1 matches for "example_link".
2012 Aug 08
1
Memcache and Rails - Storing String as values.
Hello all,
I have been using Memcache with my rails application to store certain
key value pair.... I am using Dalli gem for the same... So Here''s what i
do from console:
require ''dalli''
dc = Dalli::Client.new(''remoteserver:11211'')
dc.set(''example_link'', "http://www.google.com")
=> true
value = dc.get(''example_link'')
=> "http://www.desidime.com"
Everything looks good. However if i telnet to memcache and run this
command:
get example_link
VALUE example_link 1 33
I"http://www.google.com:...