Skip to content
Browse files

incorrect content of models/comment.rb after 'rails generate'

  • Loading branch information...
1 parent 09d7ead commit 0f0803fda5df60319d8646bb4f3e71f2e596316a @kubabrecka kubabrecka committed Feb 13, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 guides/source/getting_started.md
View
2 guides/source/getting_started.md
@@ -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
```
@@ -1302,6 +1303,7 @@ makes each comment belong to a Post:
```ruby
class Comment < ActiveRecord::Base
belongs_to :post
+ attr_accessible :body, :commenter
end
```

0 comments on commit 0f0803f

Please sign in to comment.
Something went wrong with that request. Please try again.