1 2 3 4 5
class Owner < ActiveRecord::Base self.primary_key = :owner_id has_many :pets has_many :toys, :through => :pets end