Sha256: 2d8741d6c30c3dfede78f8c14335884e27a60b79ca0a81a816a4fdffb85123e7
Contents?: true
Size: 292 Bytes
Versions: 20
Compression:
Stored size: 292 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
20 entries across 20 versions & 3 rubygems