class method
self.attach_to
Ruby on Rails 7.2.3
Since v7.1.6 Last seen in v8.0.4Signature
self.attach_to(*)
No documentation comment.
Parameters
-
argsrest
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