aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-10-17 21:28:12 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-10-17 21:43:23 +0900
commit12c7b101f8cfa9ecb9d9483a02b0b6ebf792b77e (patch)
tree12d81666bf24d2f428921633822ad33239ac23d5 /guides/source
parentdbb5d57538337702b29ffb879417f2d28e422b93 (diff)
downloadrails-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/source')
-rw-r--r--guides/source/association_basics.md2
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