1 2 3 4 5 6 7 8
# frozen_string_literal: true class PetTreasure < ActiveRecord::Base self.table_name = "pets_treasures" belongs_to :pet belongs_to :treasure end