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





                                              
class Minivan < ActiveRecord::Base
  set_primary_key :minivan_id
  
  belongs_to :speedometer
  has_one :dashboard, :through => :speedometer
end