2039c8280d
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
9 lines
337 B
Ruby
9 lines
337 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InstanceStatistics::ConversationalDevelopmentIndexController < InstanceStatistics::ApplicationController
|
|
# rubocop: disable CodeReuse/ActiveRecord
|
|
def index
|
|
@metric = ConversationalDevelopmentIndex::Metric.order(:created_at).last&.present
|
|
end
|
|
# rubocop: enable CodeReuse/ActiveRecord
|
|
end
|