Source

RubyLearning / ProjectTrak / vendor / rails / activerecord / test / models / pet.rb

1
2
3
4
class Pet < ActiveRecord::Base
  set_primary_key :pet_id
  belongs_to :owner
end