From 430236a2af7ab6749c61039b7a45a6205a70b200 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 16:44:50 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/enumeration.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19270 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/enumeration.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb index 3453552a5..70dda077b 100644 --- a/app/models/enumeration.rb +++ b/app/models/enumeration.rb @@ -105,7 +105,8 @@ class Enumeration < ActiveRecord::Base # Does the +new+ Hash override the previous Enumeration? def self.overriding_change?(new, previous) - if (same_active_state?(new['active'], previous.active)) && same_custom_values?(new,previous) + if (same_active_state?(new['active'], previous.active)) && + same_custom_values?(new, previous) return false else return true -- 2.39.5