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