blob: 02421afe340c881aa504c06ccf7efdbc3a41838c (
plain) (
blame)
1
2
3
4
5
6
|
# frozen_string_literal: true
class Aircraft < ActiveRecord::Base
self.pluralize_table_names = false
has_many :engines, foreign_key: "car_id"
has_many :wheels, as: :wheelable
end
|