From 3c333f1a22c1b4f0ae42161df1ce9b4c4730999d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 27 Jun 2015 16:54:08 +0200 Subject: Change back, more is happening than just response --- lib/action_cable/connection/base.rb | 2 +- lib/action_cable/server.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb index efabe40b73..e5d63abe5b 100644 --- a/lib/action_cable/connection/base.rb +++ b/lib/action_cable/connection/base.rb @@ -22,7 +22,7 @@ module ActionCable @started_at = Time.now end - def response + def process logger.info started_request_message if websocket.possible? diff --git a/lib/action_cable/server.rb b/lib/action_cable/server.rb index dbfadaa34c..3a16f51757 100644 --- a/lib/action_cable/server.rb +++ b/lib/action_cable/server.rb @@ -17,7 +17,7 @@ module ActionCable end def call(env) - @connection_class.new(self, env).response + @connection_class.new(self, env).process end def worker_pool -- cgit v1.2.3