diff --git a/app/models/item.rb b/app/models/item.rb index fcc86e36..68006449 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -18,9 +18,6 @@ class Item < ApplicationRecord SPECIAL_COLOR_DESCRIPTION_REGEX = /This item is only wearable by [a-zA-Z]+ painted ([a-zA-Z]+)\.|WARNING: This [a-zA-Z]+ can be worn by ([a-zA-Z]+) [a-zA-Z]+ ONLY!|If your Neopet is not painted ([a-zA-Z]+), it will not be able to wear this item\./ - cattr_reader :per_page - @@per_page = 30 - scope :newest, -> { order(arel_table[:created_at].desc) if arel_table[:created_at] }