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

Version Path
ibm_db-5.2.0 test/models/dog.rb
ibm_db-5.1.0 test/models/dog.rb
ibm_db-5.0.5 test/models/dog.rb
ibm_db-5.0.4 test/models/dog.rb
ibm_db-5.0.3 test/models/dog.rb
ibm_db-5.0.2 test/models/dog.rb
ibm_db-4.0.0-x86-mingw32 test/models/dog.rb
ibm_db-4.0.0 test/models/dog.rb
ibm_db-3.0.4-x86-mingw32 test/models/dog.rb
ibm_db-3.0.4 test/models/dog.rb
ibm_db-3.0.3-x86-mingw32 test/models/dog.rb
ibm_db-3.0.3 test/models/dog.rb
ibm_db-3.0.2-x86-mingw32 test/models/dog.rb
ibm_db-3.0.2 test/models/dog.rb
activejob-lock-0.0.2 rails/activerecord/test/models/dog.rb
ibm_db-3.0.1 test/models/dog.rb
ibm_db-3.0.1-x86-mingw32 test/models/dog.rb
activejob-lock-0.0.1 rails/activerecord/test/models/dog.rb
activerecord-nuodb-adapter-1.1 test/models/dog.rb
activerecord-nuodb-adapter-1.0.4 test/models/dog.rb