summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-03-29 11:23:05 +0000
committerNick Thomas <nick@gitlab.com>2019-03-29 20:54:06 +0000
commit98a5976b787fad0797bc5e3231c48ab3f400bce6 (patch)
treeffb8799b5bbb65b3bcc7c54a8a59456f4777981c /scripts
parent0d26c48332e7c580946adbd41795d4817909e2ef (diff)
downloadgitlab-ce-98a5976b787fad0797bc5e3231c48ab3f400bce6.tar.gz
Document ApplicationRecord / pluck_primary_key
We also enable the rubocop that makes it mandatory
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/insert-rspec-profiling-data2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/insert-rspec-profiling-data b/scripts/insert-rspec-profiling-data
index 10e337b9972..b34379764e0 100755
--- a/scripts/insert-rspec-profiling-data
+++ b/scripts/insert-rspec-profiling-data
@@ -22,7 +22,7 @@ module RspecProfiling
ENV['RSPEC_PROFILING_POSTGRES_URL']
end
- class Result < ActiveRecord::Base
+ class Result < ActiveRecord::Base # rubocop:disable Rails/ApplicationRecord
acts_as_copy_target
end
end