Sha256: c28521413bc8ed602ce48bdf55905043d04815c2c01497c2f4ea69e574f5bfb9
Contents?: true
Size: 246 Bytes
Versions: 6
Compression:
Stored size: 246 Bytes
Contents
# frozen_string_literal: true class DogLover < ActiveRecord::Base has_many :trained_dogs, class_name: "Dog", foreign_key: :trainer_id, dependent: :destroy has_many :bred_dogs, class_name: "Dog", foreign_key: :breeder_id has_many :dogs end
Version data entries
6 entries across 6 versions & 2 rubygems