Sha256: 3cf3880ea2ada353c27c07844d3502ffdc6288158fb757348c04ca447be86ae7
Contents?: true
Size: 323 Bytes
Versions: 6
Compression:
Stored size: 323 Bytes
Contents
# frozen_string_literal: true class Dog < ActiveRecord::Base belongs_to :breeder, class_name: "DogLover", counter_cache: :bred_dogs_count belongs_to :trainer, class_name: "DogLover", counter_cache: :trained_dogs_count belongs_to :doglover, foreign_key: :dog_lover_id, class_name: "DogLover", counter_cache: true end
Version data entries
6 entries across 6 versions & 2 rubygems