diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-07-19 15:52:45 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-07-19 15:52:45 -0600 |
commit | 6765d4874e7afaa8da0c7790710fe43726ef412c (patch) | |
tree | f6d73b4779bed275d29f91c2301047534e122fb6 /activerecord/test/models/aircraft.rb | |
parent | 0bd247cc7679adb3c2e30b46ecc9afd57ac46c45 (diff) | |
parent | 8cd1d5a41cf54f0dfde2b2d0d406457a6a58dbeb (diff) | |
download | rails-6765d4874e7afaa8da0c7790710fe43726ef412c.tar.gz rails-6765d4874e7afaa8da0c7790710fe43726ef412c.tar.bz2 rails-6765d4874e7afaa8da0c7790710fe43726ef412c.zip |
Merge Pull Request #16445
Diffstat (limited to 'activerecord/test/models/aircraft.rb')
-rw-r--r-- | activerecord/test/models/aircraft.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/aircraft.rb b/activerecord/test/models/aircraft.rb index 1f35ef45da..c4404a8094 100644 --- a/activerecord/test/models/aircraft.rb +++ b/activerecord/test/models/aircraft.rb @@ -1,4 +1,5 @@ class Aircraft < ActiveRecord::Base self.pluralize_table_names = false has_many :engines, :foreign_key => "car_id" + has_many :wheels, as: :wheelable end |