Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 57f73a6bcf
Fetching contributors…

Cannot retrieve contributors at this time

5 lines (4 sloc) 0.208 kb
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
end
Jump to Line
Something went wrong with that request. Please try again.