Delete a couple unused accessors
At least, I think they are!
This commit is contained in:
parent
644a6acc72
commit
94d15f005d
2 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
module ClosetVisibility
|
module ClosetVisibility
|
||||||
class Level
|
class Level
|
||||||
attr_accessor :id, :name
|
attr_accessor :id, :name
|
||||||
attr_writer :description
|
|
||||||
|
|
||||||
def initialize(data)
|
def initialize(data)
|
||||||
data.each do |key, value|
|
data.each do |key, value|
|
||||||
|
|
|
@ -12,7 +12,6 @@ class Pet < ApplicationRecord
|
||||||
belongs_to :pet_type
|
belongs_to :pet_type
|
||||||
|
|
||||||
attr_reader :items, :pet_state
|
attr_reader :items, :pet_state
|
||||||
attr_accessor :contributor
|
|
||||||
|
|
||||||
scope :with_pet_type_color_ids, ->(color_ids) {
|
scope :with_pet_type_color_ids, ->(color_ids) {
|
||||||
joins(:pet_type).where(PetType.arel_table[:id].in(color_ids))
|
joins(:pet_type).where(PetType.arel_table[:id].in(color_ids))
|
||||||
|
|
Loading…
Reference in a new issue