From 82e0fe13a312a0292ad7faeddd3315704619ae6d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 28 Sep 2020 08:50:03 +0000 Subject: [PATCH] Fix a RuboCop offense Style/SymbolArray due to r20066 (#33289). git-svn-id: http://svn.redmine.org/redmine/trunk@20093 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/enumeration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb index dfa6ba49f..b5ee7b811 100644 --- a/app/models/enumeration.rb +++ b/app/models/enumeration.rb @@ -24,7 +24,7 @@ class Enumeration < ActiveRecord::Base belongs_to :project - acts_as_positioned :scope => %i[project_id parent_id] + acts_as_positioned :scope => [:project_id, :parent_id] acts_as_customizable acts_as_tree -- 2.39.5