blob: a33dc575c59ad4c541c94e762054aa7e5d7552d6 (
plain) (
tree)
|
|
class DogLover < ActiveRecord::Base
has_many :trained_dogs, :class_name => "Dog", :foreign_key => :trainer_id
has_many :bred_dogs, :class_name => "Dog", :foreign_key => :breeder_id
end
|