Commit 4e9b7a03 authored by Alper Akgun's avatar Alper Akgun

Remove unused scope without_project_deleted

parent d5e2568b
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
class DeployKeysProject < ApplicationRecord class DeployKeysProject < ApplicationRecord
belongs_to :project, inverse_of: :deploy_keys_projects belongs_to :project, inverse_of: :deploy_keys_projects
belongs_to :deploy_key, 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 :in_project, ->(project) { where(project: project) }
scope :with_write_access, -> { where(can_push: true) } 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