aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/aircraft.rb
blob: c4404a8094e560552db61bfa678e3746068ebf10 (plain) (tree)
1
2
3
4
5
                                   
                                    
                                             
                                  
   
class Aircraft < ActiveRecord::Base
  self.pluralize_table_names = false
  has_many :engines, :foreign_key => "car_id"
  has_many :wheels, as: :wheelable
end