From 820382941ba74971252ffee927de6220099415a6 Mon Sep 17 00:00:00 2001 From: Kazuto Kusama Date: Fri, 11 Aug 2023 22:11:30 +0900 Subject: [PATCH] Rubocop --- app/models/talk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/talk.rb b/app/models/talk.rb index 7c0afe2c5..6fe1aeb68 100644 --- a/app/models/talk.rb +++ b/app/models/talk.rb @@ -345,7 +345,7 @@ def start_streaming ActiveRecord::Base.transaction do other_talks_in_track = conference.tracks.find_by(name: track.name).talks .accepted_and_intermission - .select { |t| t.id != id } + .reject { |t| t.id == id } other_talks_in_track.each do |other_talk| other_talk.video.update!(on_air: false) end