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

                                              
 


                      
class Minivan < ActiveRecord::Base
  self.primary_key = :minivan_id

  belongs_to :speedometer
  has_one :dashboard, :through => :speedometer

  attr_readonly :color

end