Oops, remove stray viewer_data reader from Pet

This is left over from a previous plan I had, before moving
`fetch_viewer_data` to a class method.
This commit is contained in:
Emi Matchu 2024-01-24 01:00:53 -08:00
parent b24ed7facb
commit 4888a9dcbe

View file

@ -11,7 +11,7 @@ class Pet < ApplicationRecord
belongs_to :pet_type
attr_reader :items, :pet_state, :viewer_data
attr_reader :items, :pet_state
scope :with_pet_type_color_ids, ->(color_ids) {
joins(:pet_type).where(PetType.arel_table[:id].in(color_ids))