aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-06-30 03:02:45 -0700
committerYves Senn <yves.senn@gmail.com>2013-06-30 03:02:45 -0700
commitbb1feb02e14064889572f5ab4e47c3a53752c908 (patch)
tree54a9e2a553eb11dec5e28112c499cbc1d9c0ca4a /guides
parent4eedb3928e5555e9d766f7c92637a6341c461efb (diff)
parenta0bdf2fff57c03f9c0d1553a6c9e44d52937dc77 (diff)
downloadrails-bb1feb02e14064889572f5ab4e47c3a53752c908.tar.gz
rails-bb1feb02e14064889572f5ab4e47c3a53752c908.tar.bz2
rails-bb1feb02e14064889572f5ab4e47c3a53752c908.zip
Merge pull request #11190 from dkaplan88/typo
Typo in Active Record Migrations Guide
Diffstat (limited to 'guides')
-rw-r--r--guides/source/migrations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md
index 508e52a77c..035f9499de 100644
--- a/guides/source/migrations.md
+++ b/guides/source/migrations.md
@@ -314,7 +314,7 @@ will produce a migration that looks like this
class AddDetailsToProducts < ActiveRecord::Migration
def change
add_column :products, :price, precision: 5, scale: 2
- add_reference :products, :user, polymorphic: true, index: true
+ add_reference :products, :supplier, polymorphic: true, index: true
end
end
```