method

log_rendering_start

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: ActionView::LogSubscriber
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.