diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-13 21:30:19 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 21:30:19 +0900 |
commit | 823f9e0a89707561b54196bf4aabe20c5edb88c1 (patch) | |
tree | 82b66bc3d46f5554f10e13e0a2bf598438885eb1 /activerecord/test/schema | |
parent | 7db3a6e89a05855d6f55864e15ee69986708c1dc (diff) | |
parent | a50eacb03cf3df1d1cbc227ea0115901e0327f1c (diff) | |
download | rails-823f9e0a89707561b54196bf4aabe20c5edb88c1.tar.gz rails-823f9e0a89707561b54196bf4aabe20c5edb88c1.tar.bz2 rails-823f9e0a89707561b54196bf4aabe20c5edb88c1.zip |
Merge pull request #33844 from kamipo/too_many_eager_load_ids
Eager loading/preloading should be worked regardless of large number of records
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 266e55f682..27c7348f5c 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -160,6 +160,7 @@ ActiveRecord::Schema.define do create_table :citations, force: true do |t| t.column :book1_id, :integer t.column :book2_id, :integer + t.references :citation end create_table :clubs, force: true do |t| |