Permalink
Browse files

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

This reverts commit 0f0803f.

Reason: The content was correct since attr_accessible was removed from
rails master.
  • Loading branch information...
1 parent 0f0803f commit 3a388da87dd5294f2a2718017a3d6ecc70cfdb17 Rafael Mendonça França committed Feb 13, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 guides/source/getting_started.md
@@ -1240,7 +1240,6 @@ First, take a look at `app/models/comment.rb`:
```ruby
class Comment < ActiveRecord::Base
belongs_to :post
- attr_accessible :body, :commenter
end
```
@@ -1303,7 +1302,6 @@ makes each comment belong to a Post:
```ruby
class Comment < ActiveRecord::Base
belongs_to :post
- attr_accessible :body, :commenter
end
```

0 comments on commit 3a388da

Please sign in to comment.