Remove unused Pet.with_pet_type_color_ids scope
This commit is contained in:
parent
d26f3a7598
commit
40765c729e
1 changed files with 0 additions and 4 deletions
|
@ -3,10 +3,6 @@ class Pet < ApplicationRecord
|
|||
|
||||
attr_reader :items, :pet_state, :alt_style
|
||||
|
||||
scope :with_pet_type_color_ids, ->(color_ids) {
|
||||
joins(:pet_type).where(PetType.arel_table[:id].in(color_ids))
|
||||
}
|
||||
|
||||
def load!(timeout: nil)
|
||||
viewer_data = Neopets::CustomPets.fetch_viewer_data(name, timeout:)
|
||||
use_viewer_data(viewer_data)
|
||||
|
|
Loading…
Reference in a new issue