From de30c4d3af89aa98196b6de1102472a2bfebc4af Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 30 Nov 2016 08:10:30 +0100 Subject: [PATCH] Applied rubocop. --- app/models/cti/caller_id.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/cti/caller_id.rb b/app/models/cti/caller_id.rb index a00599c07..4118a58df 100644 --- a/app/models/cti/caller_id.rb +++ b/app/models/cti/caller_id.rb @@ -241,7 +241,7 @@ returns preferences_maybe = {} preferences_maybe[direction] = [] - self.lookup(caller_id).each { |record| + lookup(caller_id).each { |record| if record.level == 'known' preferences_known[direction].push record else