kbparagua/paloma — pull request #55 by jritter (2014-08-19 13:33:23+00:00)
Title: Bug #37

Hi, I ran into a problem when I tried to use paloma and jbuilder in one rails application. The rendering of json failed because there was no partial available for paloma. I've seen that json should be excluded automatically, but somehow this does not seem to apply for the jbuilder rendering process (options hash is empty). One solution that came to mind is to just skip the rendering if there is no template available, that's what I've implemented here.

By the way, this also solves the issue described in Issue #37 (https://github.com/kbparagua/paloma/issues/37).

Hope it helps!