Module: ActionCable::Server::Worker::ActiveRecordConnectionManagement
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActionCable::Server::Worker
- Defined in:
- actioncable/lib/action_cable/server/worker/active_record_connection_management.rb
Instance Method Summary collapse
Methods included from ActiveSupport::Concern
append_features, class_methods, extended, included, prepend_features, prepended
Instance Method Details
#with_database_connections(&block) ⇒ Object
15 16 17 |
# File 'actioncable/lib/action_cable/server/worker/active_record_connection_management.rb', line 15 def with_database_connections(&block) connection.logger.tag(ActiveRecord::Base.logger, &block) end |