Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopen committed Aug 11, 2023
1 parent 33cf6d7 commit 8203829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/talk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8203829

Please sign in to comment.