diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-10-17 21:28:12 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-10-17 21:43:23 +0900 |
commit | 12c7b101f8cfa9ecb9d9483a02b0b6ebf792b77e (patch) | |
tree | 12d81666bf24d2f428921633822ad33239ac23d5 /guides | |
parent | dbb5d57538337702b29ffb879417f2d28e422b93 (diff) | |
download | rails-12c7b101f8cfa9ecb9d9483a02b0b6ebf792b77e.tar.gz rails-12c7b101f8cfa9ecb9d9483a02b0b6ebf792b77e.tar.bz2 rails-12c7b101f8cfa9ecb9d9483a02b0b6ebf792b77e.zip |
Remove and flip `index: true` for `references` in the doc [ci skip]
Follow up #32146.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/association_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index 406b65d223..b0a905c754 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -487,7 +487,7 @@ class CreatePictures < ActiveRecord::Migration[5.0] def change create_table :pictures do |t| t.string :name - t.references :imageable, polymorphic: true, index: true + t.references :imageable, polymorphic: true t.timestamps end end |