mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add command line $ tip for new programmers
This commit is contained in:
parent
ae4448253d
commit
e8bdbef00a
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ adding these columns will also be created. For example, running
|
||||||
$ rails generate model Product name:string description:text
|
$ rails generate model Product name:string description:text
|
||||||
```
|
```
|
||||||
|
|
||||||
|
TIP: All lines starting with a dollar sign `$` are intended to be run on the command line.
|
||||||
|
|
||||||
will create a migration that looks like this
|
will create a migration that looks like this
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
|
Loading…
Reference in a new issue