From 40765c729e13d5f31b8375b3e03de692bb030177 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Sat, 2 Nov 2024 20:21:59 -0700 Subject: [PATCH] Remove unused Pet.with_pet_type_color_ids scope --- app/models/pet.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/pet.rb b/app/models/pet.rb index 0299a05c..3765bec9 100644 --- a/app/models/pet.rb +++ b/app/models/pet.rb @@ -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)