aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/owner.rb
blob: 5760b991ec17fd39b151ff1fa2fc3e666e86e586 (plain) (blame)
1
2
3
4
5
class Owner < ActiveRecord::Base
  set_primary_key :owner_id
  has_many :pets
  has_many :toys, :through => :pets
end