diff options
Diffstat (limited to 'app/models/deploy_key.rb')
-rw-r--r-- | app/models/deploy_key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/deploy_key.rb b/app/models/deploy_key.rb index 06f8f31b8cc..22ab326a0ab 100644 --- a/app/models/deploy_key.rb +++ b/app/models/deploy_key.rb @@ -10,7 +10,7 @@ class DeployKey < Key scope :are_public, -> { where(public: true) } scope :with_projects, -> { includes(deploy_keys_projects: { project: [:route, :namespace] }) } - self.ignored_columns = %i[can_push] + self.ignored_columns += %i[can_push] accepts_nested_attributes_for :deploy_keys_projects |