From 9b254fa61f3b815babd928b6fa28e096ee46acb1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 7 Jul 2015 19:30:00 +0200 Subject: Use process vs perform language --- lib/action_cable/channel/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/action_cable/channel') diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb index fd510b2597..19a03f5ef6 100644 --- a/lib/action_cable/channel/base.rb +++ b/lib/action_cable/channel/base.rb @@ -49,7 +49,7 @@ module ActionCable if authorized? action = extract_action(data) - if performable_action?(action) + if processable_action?(action) logger.info action_signature(action, data) public_send action, data else @@ -111,7 +111,7 @@ module ActionCable (data['action'].presence || :receive).to_sym end - def performable_action?(action) + def processable_action?(action) self.class.instance_methods(false).include?(action) end -- cgit v1.2.3