Skip to content

Commit

Permalink
incorrect content of models/comment.rb after 'rails generate'
Browse files Browse the repository at this point in the history
  • Loading branch information
kubamracek committed Feb 13, 2013
1 parent 09d7ead commit 0f0803f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/source/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,7 @@ First, take a look at `app/models/comment.rb`:
```ruby
class Comment < ActiveRecord::Base
belongs_to :post
attr_accessible :body, :commenter
end
```

Expand Down Expand Up @@ -1302,6 +1303,7 @@ makes each comment belong to a Post:
```ruby
class Comment < ActiveRecord::Base
belongs_to :post
attr_accessible :body, :commenter
end
```

Expand Down

0 comments on commit 0f0803f

Please sign in to comment.