aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/owner.rb
blob: fea55f4535b85956e947673ecfa7d3fbc0dc1f74 (plain) (tree)
1
2
3
4
5
                                
                              
                

                                   
class Owner < ActiveRecord::Base
  self.primary_key = :owner_id
  has_many :pets
  has_many :toys, :through => :pets
end