method

render

render(context, options, block)
public

No documentation available.

# File actionview/lib/action_view/renderer/partial_renderer.rb, line 295
    def render(context, options, block)
      setup(context, options, block)
      @template = find_partial

      @lookup_context.rendered_format ||= begin
        if @template && @template.formats.present?
          @template.formats.first
        else
          formats.first
        end
      end

      if @collection
        render_collection
      else
        render_partial
      end
    end