Skip to content

Commit

Permalink
Merge pull request #11190 from dkaplan88/typo
Browse files Browse the repository at this point in the history
Typo in Active Record Migrations Guide
  • Loading branch information
senny committed Jun 30, 2013
2 parents 4eedb39 + a0bdf2f commit bb1feb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/migrations.md
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 bb1feb0

Please sign in to comment.