aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/pet.rb
blob: a8bf94dd867998d21d1de62ead8bc0656b88f499 (plain) (blame)
1
2
3
4
5
class Pet < ActiveRecord::Base
  set_primary_key :pet_id
  belongs_to :owner, :touch => true
  has_many :toys
end