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