Permalink
Browse files

Typo in Active Record Migrations Guide [ci skip]

  • Loading branch information...
1 parent 08f8c8a commit a0bdf2fff57c03f9c0d1553a6c9e44d52937dc77 @dkaplan88 dkaplan88 committed Jun 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/migrations.md
View
2 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
```

0 comments on commit a0bdf2f

Please sign in to comment.