class method
self.debug_only
Ruby on Rails edge
Since v8.1.4 Private — implementation detail, not part of the public APIAvailable in: v8.1.4 edge
Signature
self.debug_only(method)
No documentation comment.
Parameters
-
methodreq
Source
# File activesupport/lib/active_support/structured_event_subscriber.rb, line 53
def debug_only(method)
self.debug_methods += [method]
set_silenced_events
end
Defined in activesupport/lib/active_support/structured_event_subscriber.rb line 53
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::StructuredEventSubscriber