method

render_body

Importance_1
render_body(context, options) public

Render but returns a valid Rack body. If fibers are defined, we return a streaming body that renders the template piece by piece.

Note that partials are not supported to be rendered with streaming, so in such cases, we just wrap them in an array.

Show source
Register or log in to add new notes.