aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/migrations.md
diff options
context:
space:
mode:
authordkaplan88 <dkaplan@g2labs.net>2013-06-29 17:11:43 -0500
committerdkaplan88 <dkaplan@g2labs.net>2013-06-29 17:38:30 -0500
commita0bdf2fff57c03f9c0d1553a6c9e44d52937dc77 (patch)
tree51afa57a266a5af32365581ecc7cb623aa7945e1 /guides/source/migrations.md
parent08f8c8aa52d7cefed7b8fb0ae2cffa3d77d3895f (diff)
downloadrails-a0bdf2fff57c03f9c0d1553a6c9e44d52937dc77.tar.gz
rails-a0bdf2fff57c03f9c0d1553a6c9e44d52937dc77.tar.bz2
rails-a0bdf2fff57c03f9c0d1553a6c9e44d52937dc77.zip
Typo in Active Record Migrations Guide [ci skip]
Diffstat (limited to 'guides/source/migrations.md')
-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
```