Commit a9139f7c authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak

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

Remove unused ActiveRecord Scope inc_author_project

See merge request gitlab-org/gitlab!70211
parents 1141506d 01797a6e
......@@ -115,7 +115,6 @@ class Note < ApplicationRecord
scope :updated_after, ->(time) { where('updated_at > ?', time) }
scope :with_updated_at, ->(time) { where(updated_at: time) }
scope :with_suggestions, -> { joins(:suggestions) }
scope :inc_author_project, -> { includes(:project, :author) }
scope :inc_author, -> { includes(:author) }
scope :with_api_entity_associations, -> { preload(:note_diff_file, :author) }
scope :inc_relations_for_view, -> do
......
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