Remove unused Item.with_closet_hangers scope

Idk why we thought this made sense way back when? But it evidently has
no call sites now so. Goodbye!
This commit is contained in:
Emi Matchu 2024-06-19 17:49:18 -07:00
parent 1acb00e35a
commit 1d250f3148

View file

@ -31,8 +31,6 @@ class Item < ApplicationRecord
scope :sitemap, -> { order([:id]).limit(49999) } scope :sitemap, -> { order([:id]).limit(49999) }
scope :with_closet_hangers, -> { joins(:closet_hangers) }
scope :name_includes, ->(value) { scope :name_includes, ->(value) {
Item.where("name LIKE ?", "%" + sanitize_sql_like(value) + "%") Item.where("name LIKE ?", "%" + sanitize_sql_like(value) + "%")
} }