Skip to content

Commit 5544a81

Browse files
authored
Merge pull request rails#49014 from akhilgkrishnan/add-missing-dollar
[skip ci] Added missing $ for a bash
2 parents ec67f71 + d104005 commit 5544a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/3_2_release_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Railties
151151
* Allow scaffold/model/migration generators to accept "index" and "uniq" modifiers. For example,
152152

153153
```bash
154-
bin/rails g scaffold Post title:string:index author:uniq price:decimal{7,2}
154+
$ bin/rails g scaffold Post title:string:index author:uniq price:decimal{7,2}
155155
```
156156

157157
will create indexes for `title` and `author` with the latter being a unique index. Some types such as decimal accept custom options. In the example, `price` will be a decimal column with precision and scale set to 7 and 2 respectively.

0 commit comments

Comments
 (0)