Sha256: f80ab652621c7d593aa51de54d2eb31196b8478566bc4be0d88de218115faf21
Contents?: true
Size: 253 Bytes
Versions: 4
Compression:
Stored size: 253 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
4 entries across 4 versions & 1 rubygems