mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Getting Started Guide: post.rb -> Post
This commit is contained in:
parent
a6e1a73ffd
commit
ead0c9a7e5
1 changed files with 1 additions and 1 deletions
|
@ -1338,7 +1338,7 @@ class Comment < ActiveRecord::Base
|
|||
end
|
||||
```
|
||||
|
||||
This is very similar to the `post.rb` model that you saw earlier. The difference
|
||||
This is very similar to the `Post` model that you saw earlier. The difference
|
||||
is the line `belongs_to :post`, which sets up an Active Record _association_.
|
||||
You'll learn a little about associations in the next section of this guide.
|
||||
|
||||
|
|
Loading…
Reference in a new issue