From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 16:44:50 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/enumeration.rb X-Git-Tag: 4.2.0~1370 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=430236a2af7ab6749c61039b7a45a6205a70b200;p=redmine.git 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 --- 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