diff options
author | dineshpanda <dineshpanda92@gmail.com> | 2019-08-30 02:09:13 +0530 |
---|---|---|
committer | dineshpanda <dineshpanda92@gmail.com> | 2019-08-30 02:09:13 +0530 |
commit | fa6f19d1f83b68f2bb729be889ab7d66adbbedb8 (patch) | |
tree | f33896c818180909073c47075798845d6ba335e1 /app/models/ci/runner.rb | |
parent | 921d4f37230c8d6d5c097929520bed51e3679a0c (diff) | |
download | gitlab-ce-fa6f19d1f83b68f2bb729be889ab7d66adbbedb8.tar.gz |
Remove dependency on IgnorableColumn concern
Diffstat (limited to 'app/models/ci/runner.rb')
-rw-r--r-- | app/models/ci/runner.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb index 1c1c7a5ae7a..e0e905ebfa8 100644 --- a/app/models/ci/runner.rb +++ b/app/models/ci/runner.rb @@ -4,7 +4,6 @@ module Ci class Runner < ApplicationRecord extend Gitlab::Ci::Model include Gitlab::SQL::Pattern - include IgnorableColumn include RedisCacheable include ChronicDurationAttribute include FromUnion @@ -36,7 +35,7 @@ module Ci FORM_EDITABLE = %i[description tag_list active run_untagged locked access_level maximum_timeout_human_readable].freeze - ignore_column :is_shared + self.ignored_columns = %i[is_shared] has_many :builds has_many :runner_projects, inverse_of: :runner, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent |