render(view, locals, buffer = nil, implicit_locals: [], add_to_stack: true, &block) public

Render a template. If the template was not compiled yet, it is done exactly before rendering.

This method is instrumented as “!render_template.action_view”. Notice that we use a bang in this instrumentation because you don’t want to consume this in production. This is only slow if it’s being listened to.

Show source
Register or log in to add new notes.