From 4fcb37277638b64bd9614876142897beac552b1f Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 15 Jan 2024 20:57:55 +0100 Subject: [PATCH] Fix Ruby linting issue --- lib/tasks/glitchsoc.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/glitchsoc.rake b/lib/tasks/glitchsoc.rake index 72558fa19..db9233ccf 100644 --- a/lib/tasks/glitchsoc.rake +++ b/lib/tasks/glitchsoc.rake @@ -5,7 +5,7 @@ namespace :glitchsoc do task backfill_local_only: :environment do Status.local.where(local_only: nil).find_each do |status| ActiveRecord::Base.logger.silence do - status.update_attribute(:local_only, status.marked_local_only?) # rubocop:disable Rails/SkipsModelValidations + status.update_attribute(:local_only, status.marked_local_only?) end end end