Skip to content

Commit

Permalink
Typo in Active Record Migrations Guide [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaplan88 committed Jun 29, 2013
1 parent 08f8c8a commit a0bdf2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit a0bdf2f

Please sign in to comment.