diff options
author | Nick Thomas <nick@gitlab.com> | 2019-03-29 14:23:05 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-03-29 23:54:06 +0300 |
commit | 98a5976b787fad0797bc5e3231c48ab3f400bce6 (patch) | |
tree | ffb8799b5bbb65b3bcc7c54a8a59456f4777981c /lib/tasks | |
parent | 0d26c48332e7c580946adbd41795d4817909e2ef (diff) |
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.rake | 2 |
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' |