aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/minivan.rb
blob: 602438d16f41fdf7ac2f32a2f02337a2391e2120 (plain) (blame)
1
2
3
4
5
6
7
8
9
class Minivan < ActiveRecord::Base
  set_primary_key :minivan_id
  
  belongs_to :speedometer
  has_one :dashboard, :through => :speedometer
  
  attr_readonly :color

end