From daf4f93c1673df39c42ccd04a794cf2f42aa1ae8 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 13:18:54 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/query.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19256 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/query.rb b/app/models/query.rb index e3ab4919e..9e5071e6c 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -936,7 +936,7 @@ class Query < ActiveRecord::Base filters_clauses << sql_for_custom_field(field, operator, v, $1) elsif field =~ /^cf_(\d+)\.(.+)$/ filters_clauses << sql_for_custom_field_attribute(field, operator, v, $1, $2) - elsif respond_to?(method = "sql_for_#{field.tr('.','_')}_field") + elsif respond_to?(method = "sql_for_#{field.tr('.', '_')}_field") # specific statement filters_clauses << send(method, field, operator, v) else -- 2.39.5