Sha256: 97acff5c8514925b9587d197116fdc4af6be3470df471ff5dd625d2fa8af2cf4

Contents?: true

Size: 186 Bytes

Versions: 6

Compression:

Stored size: 186 Bytes

Contents

# 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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/models/aircraft.rb
ibm_db-5.4.1 test/models/aircraft.rb
ibm_db-5.4.0 test/models/aircraft.rb
ibm_db-5.3.2 test/models/aircraft.rb
ibm_db-5.3.1 test/models/aircraft.rb
ruby-on-quails-0.1.0 activerecord/test/models/aircraft.rb