method

log_rendering_start

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionView::LogSubscriber

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

log_rendering_start(payload, name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/log_subscriber.rb, line 92
    def log_rendering_start(payload, name)
      debug do
        qualifier =
          if name == "render_template.action_view"
            ""
          elsif name == "render_layout.action_view"
            "layout "
          end

        return unless qualifier

        message = +"  Rendering #{qualifier}#{from_rails_root(payload[:identifier])}"
        message << " within #{from_rails_root(payload[:layout])}" if payload[:layout]
        message
      end
    end
Register or log in to add new notes.