nesquena / rabl

General ruby templating with json, bson, xml, plist and msgpack support
http://blog.codepath.com/2011/06/27/building-a-platform-api-on-rails/
MIT License
3.64k stars 334 forks source link

Caching errors #698

Open drewB opened 7 years ago

drewB commented 7 years ago

When I try to use caching I always see this error:

ActionView::Template::Error (can't dump anonymous class #<Module:0x007ff9abf54860>)

This happens if I declare cache @object_name or if I turn on cache_all_output.