From a0bdf2fff57c03f9c0d1553a6c9e44d52937dc77 Mon Sep 17 00:00:00 2001 From: dkaplan88 Date: Sat, 29 Jun 2013 17:11:43 -0500 Subject: Typo in Active Record Migrations Guide [ci skip] --- guides/source/migrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/migrations.md') 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 ``` -- cgit v1.2.3