Browse files

Improve usage example for model generator

  • Loading branch information...
ka8725 committed Oct 25, 2013
1 parent abeff5e commit b5973cf5e5844a556dda8153398e210d2f9bfbbf
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/model/USAGE
@@ -60,7 +60,7 @@ Available field types:
For decimal, two integers separated by a comma in curly braces will be used
for precision and scale:
- `rails generate model product price:decimal{10,2}`
+ `rails generate model product 'price:decimal{10,2}'`
You can add a `:uniq` or `:index` suffix for unique or standard indexes

0 comments on commit b5973cf

Please sign in to comment.