I want to render multiple partials in a controller, these will not be part of the response, but pushed to clients via Juggernaut instead.
I'm using render_to_string
.
When the second one is called, I get a DoubleRenderError
.
How do I render a partial the way that performed?
will not be affected?