class method
self.install_executor_hooks
Ruby on Rails 8.0.4
Since v7.2.3Signature
self.install_executor_hooks(executor = ActiveSupport::Executor)
No documentation comment.
Parameters
-
executoropt = ActiveSupport::Executor
Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 213
def install_executor_hooks(executor = ActiveSupport::Executor)
executor.register_hook(ExecutorHooks)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb line 213
· View on GitHub
· Improve this page
· Find usages on GitHub