Remove unused Pet.with_pet_type_color_ids scope

This commit is contained in:
Emi Matchu 2024-11-02 20:21:59 -07:00
parent d26f3a7598
commit 40765c729e

View file

@ -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)