class method self.attach_to

Ruby on Rails 7.2.3

Since v7.1.6 Last seen in v8.0.4

Available in: v7.1.6 v7.2.3 v8.0.4

Signature

self.attach_to(*)

No documentation comment.

Parameters

args rest
Source
# File actionview/lib/action_view/log_subscriber.rb, line 105
    def self.attach_to(*)
      ActiveSupport::Notifications.subscribe("render_template.action_view", ActionView::LogSubscriber::Start.new)
      ActiveSupport::Notifications.subscribe("render_layout.action_view", ActionView::LogSubscriber::Start.new)

      super
    end

Defined in actionview/lib/action_view/log_subscriber.rb line 105 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::LogSubscriber

Type at least 2 characters to search.

↑↓ navigate · open · esc close