From 74e2262efb366a37a70f64dc0faec2d63086b9e5 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 12 Aug 2024 07:46:58 +0000 Subject: Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/query.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/models') diff --git a/app/models/query.rb b/app/models/query.rb index d6d319443..0f8793122 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -1207,7 +1207,6 @@ class Query < ApplicationRecord " SELECT customized_id FROM #{CustomValue.table_name}" + " WHERE customized_type='#{target_class}' AND custom_field_id=#{chained_custom_field_id}" + " AND #{sql_for_field(field, operator, value, CustomValue.table_name, 'value', true)}))" - end def sql_for_custom_field_attribute(field, operator, value, custom_field_id, attribute) -- cgit v1.2.3