aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/aircraft.rb
blob: ebd42ff824f6f57d03a4e654ca2dfcc141ed01cf (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