Commit 588ab09f authored by James Fargher's avatar James Fargher

Merge branch '337432-unused-activerecord-scope-without_project_deleted' into 'master'

Remove unused ActiveRecord Scope without_project_deleted

See merge request gitlab-org/gitlab!70212
parents ef388e3a 4e9b7a03
......@@ -3,7 +3,6 @@
class DeployKeysProject < ApplicationRecord
belongs_to :project, inverse_of: :deploy_keys_projects
belongs_to :deploy_key, inverse_of: :deploy_keys_projects
scope :without_project_deleted, -> { joins(:project).where(projects: { pending_delete: false }) }
scope :in_project, ->(project) { where(project: project) }
scope :with_write_access, -> { where(can_push: true) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment