Sha256: 716644572823d808b2e662ddc30faa16609d79fe36ee95174531ae6be38004a1
Contents?: true
Size: 297 Bytes
Versions: 8
Compression:
Stored size: 297 Bytes
Contents
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
8 entries across 8 versions & 1 rubygems