Trying to use Rails' render method inside a Poirot::View when trying to render a rails partial call's Mustache's render (which is fine, but should be called out clearly in documentation).
The solution is to use controller.render_to_body if you want to render a partial into a mustache template. Again, just a doc update.
Trying to use Rails'
render
method inside aPoirot::View
when trying to render a rails partial call's Mustache'srender
(which is fine, but should be called out clearly in documentation).The solution is to use
controller.render_to_body
if you want to render a partial into a mustache template. Again, just a doc update.Best, @jasim and @kaiwren