Re: [Rails] rails memcached dalli Marshalling error for key
On Tue, Dec 25, 2012 at 5:09 AM, Pavlo Shabat <pavlo.shabat@gmail.com> wrote:
> You are trying to cache a Ruby object which cannot be serialized to
> memcached.
What is "includes" and what does it return? It should be a String,
Hash ({}), Array ([]), Fixnum (1), Range (1..2) or Float (1.0) for
Dalli to not bitch about Marshaling. Otherwise you have to build your
own Marshals for the object which might or might not be worth it.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home