From 7eb120f5c5d03fbe23b3e7008582c37a15b36819 Mon Sep 17 00:00:00 2001 From: farhatahmad Date: Tue, 23 Jan 2024 13:47:33 -0500 Subject: [PATCH] rubo --- db/data/20240123184213_fix_access_to_visibilities_value.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db/data/20240123184213_fix_access_to_visibilities_value.rb b/db/data/20240123184213_fix_access_to_visibilities_value.rb index 6773a78ecf..6f9f698531 100644 --- a/db/data/20240123184213_fix_access_to_visibilities_value.rb +++ b/db/data/20240123184213_fix_access_to_visibilities_value.rb @@ -2,7 +2,9 @@ class FixAccessToVisibilitiesValue < ActiveRecord::Migration[7.1] def up - Permission.find_by(name: "AccessToVisibilities").role_permissions.where(value: "false").update_all(value: Recording::VISIBILITIES.values) + # rubocop:disable Rails/SkipsModelValidations + Permission.find_by(name: 'AccessToVisibilities').role_permissions.where(value: 'false').update_all(value: Recording::VISIBILITIES.values) + # rubocop:enable Rails/SkipsModelValidations end def down