def render(view, locals, buffer = ActionView::OutputBuffer.new, &block)
      instrument_render_template do
        compile!(view)
        view._run(method_name, self, locals, buffer, &block)
      end
    rescue => e
      handle_render_error(view, e)
    end
def render(view, locals, buffer = ActionView::OutputBuffer.new, &block)
      instrument_render_template do
        compile!(view)
        view._run(method_name, self, locals, buffer, &block)
      end
    rescue => e
      handle_render_error(view, e)
    end
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.