Browse files

Merge pull request #163 from mogetutu/master

Added quotes when defining the precision for the `decimal` fields
  • Loading branch information...
2 parents 8a681d8 + febe40a commit 2d93ac85b3713c5b7f92136ad9c86f2986023b87 @rafaelfranca rafaelfranca committed Sep 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/migrations.md
View
2 guides/source/migrations.md
@@ -305,7 +305,7 @@ braces. You can use the following modifiers:
For instance, running
```bash
-$ rails generate migration AddDetailsToProducts price:decimal{5,2} supplier:references{polymorphic}
+$ rails generate migration AddDetailsToProducts 'price:decimal{5,2}' supplier:references{polymorphic}
```
will produce a migration that looks like this

0 comments on commit 2d93ac8

Please sign in to comment.