class ActionView::Template
Public Instance Methods
render(view, locals, buffer = ActionView::OutputBuffer.new, flag = {add_to_stack: true}, &block)
click to toggle source
# File lib/nice_partials/monkey_patch.rb, line 51 def render(view, locals, buffer = ActionView::OutputBuffer.new, flag = {add_to_stack: true}, &block) instrument_render_template do compile!(view) view._run(method_name, self, locals, buffer, **flag, &block) end rescue => e handle_render_error(view, e) end