summaryrefslogtreecommitdiff
path: root/lib/tasks
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 /lib/tasks
parent0d26c48332e7c580946adbd41795d4817909e2ef (diff)
downloadgitlab-ce-98a5976b787fad0797bc5e3231c48ab3f400bce6.tar.gz
Document ApplicationRecord / pluck_primary_key
We also enable the rubocop that makes it mandatory
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/tokens.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/tokens.rake b/lib/tasks/tokens.rake
index eec024f9bbb..46635cd7c8f 100644
--- a/lib/tasks/tokens.rake
+++ b/lib/tasks/tokens.rake
@@ -24,7 +24,7 @@ namespace :tokens do
end
end
-class TmpUser < ActiveRecord::Base
+class TmpUser < ActiveRecord::Base # rubocop:disable Rails/ApplicationRecord
include TokenAuthenticatable
self.table_name = 'users'