diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action_cable/server/worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/server/worker.rb b/lib/action_cable/server/worker.rb index 5b03000142..d7823ecf93 100644 --- a/lib/action_cable/server/worker.rb +++ b/lib/action_cable/server/worker.rb @@ -4,9 +4,9 @@ module ActionCable class Worker include ActiveSupport::Callbacks include Celluloid - include ClearDatabaseConnections define_callbacks :work + include ClearDatabaseConnections def invoke(receiver, method, *args) run_callbacks :work do |