Sha256: fe0e8c60408748d89b4ed06a506beb2af07ec4d48a536b3fb1b7bba3f67d7df4
Contents?: true
Size: 330 Bytes
Versions: 4
Compression:
Stored size: 330 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ibm_db-5.5.0-x86-mingw32 | test/models/dog.rb |
ibm_db-5.4.1-x86-mingw32 | test/models/dog.rb |
ibm_db-5.4.0-x86-mingw32 | test/models/dog.rb |
ibm_db-5.3.2-x86-mingw32 | test/models/dog.rb |