method

render_partial

rails latest stable - Class: ActionView::StructuredEventSubscriber

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

render_partial(event)
public

No documentation available.

# File actionview/lib/action_view/structured_event_subscriber.rb, line 24
    def render_partial(event)
      emit_debug_event("action_view.render_partial",
        identifier: from_rails_root(event.payload[:identifier]),
        layout: from_rails_root(event.payload[:layout]),
        duration_ms: event.duration.round(2),
        gc_ms: event.gc_time.round(2),
        cache_hit: event.payload[:cache_hit],
      )
    end