Compare commits
2 commits
b6bd539fed
...
5401ea984a
Author | SHA1 | Date | |
---|---|---|---|
5401ea984a | |||
1d250f3148 |
1 changed files with 0 additions and 2 deletions
|
@ -32,8 +32,6 @@ class Item < ApplicationRecord
|
|||
|
||||
scope :sitemap, -> { order([:id]).limit(49999) }
|
||||
|
||||
scope :with_closet_hangers, -> { joins(:closet_hangers) }
|
||||
|
||||
scope :name_includes, ->(value) {
|
||||
Item.where("name LIKE ?", "%" + sanitize_sql_like(value) + "%")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue