From 8a5a40db9cd860d8976bf342c01e2ab905a5b248 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sun, 9 Nov 2014 10:52:25 -0600 Subject: [PATCH] * fix check for existence in array --- web/app/helpers/recording_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/helpers/recording_helper.rb b/web/app/helpers/recording_helper.rb index c089bf1f3..3d8a6eeec 100644 --- a/web/app/helpers/recording_helper.rb +++ b/web/app/helpers/recording_helper.rb @@ -24,7 +24,7 @@ module RecordingHelper "RECORDING: #{claimed_recording.recording.band.name}" else unique_users = claimed_recording.recording.users.uniq - if sharer && unique_users.exists?(sharer) + if sharer && unique_users.include?(sharer) "RECORDING: #{sharer.name}#{additional_member_count(unique_users, sharer)}" else "RECORDING: #{claimed_recording.user.name}#{additional_member_count(unique_users, claimed_recording.user)}"