Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching support for Response #14

Open
srikanthps opened this issue Aug 10, 2015 · 0 comments
Open

Caching support for Response #14

srikanthps opened this issue Aug 10, 2015 · 0 comments

Comments

@srikanthps
Copy link

There was an issue reported in Stack Overflow by an user that Response object cannot be cached using Rails::Cache.

Following error is reported

ERROR -- : Marshalling error for key 'Timeline:weather_by_woeid/26352062': no _dump_data is defined for class Nokogiri::XML::NodeSet
ERROR -- : You are trying to cache a Ruby object which cannot be serialized to memcached.
ERROR -- : /var/lib/gems/2.2.0/gems/dalli-2.7.4/lib/dalli/server.rb:402:in `dump'

Here is the link to Stackoverflow issue: http://stackoverflow.com/questions/31916816/how-to-cache-weather-nokogirixmlnodeset-object-in-memcache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant