Fix rubocop offenses after bundle update

This commit is contained in:
Sebastian Serth
2021-06-30 08:58:14 +02:00
parent ffc7d9d57f
commit 110f1a5750
9 changed files with 13 additions and 16 deletions

View File

@ -165,9 +165,9 @@ module StatisticsHelper
key: 'rfcs_with_comments',
name: t('statistics.entries.request_for_comments.with_comments'),
data: RequestForComment.in_range(from,
to).joins('join "submissions" s on s.id = request_for_comments.submission_id
join "files" f on f.context_id = s.id and f.context_type = \'Submission\'
join "comments" c on c.file_id = f.id').group('request_for_comments.id').count.size,
to).joins('join "submissions" s on s.id = request_for_comments.submission_id ' \
'join "files" f on f.context_id = s.id and f.context_type = \'Submission\' ' \
'join "comments" c on c.file_id = f.id').group('request_for_comments.id').count.size,
url: statistics_graphs_path,
},
]