mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Fix an object of reference
This commit is contained in:
parent
503d9e1288
commit
c79b9c8601
1 changed files with 1 additions and 1 deletions
|
@ -1510,7 +1510,7 @@ comments on articles.
|
|||
|
||||
We're going to see the same generator that we used before when creating
|
||||
the `Article` model. This time we'll create a `Comment` model to hold
|
||||
reference of article comments. Run this command in your terminal:
|
||||
reference to an article. Run this command in your terminal:
|
||||
|
||||
```bash
|
||||
$ bin/rails generate model Comment commenter:string body:text article:references
|
||||
|
|
Loading…
Reference in a new issue