diff options
author | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2013-02-13 18:00:20 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2013-02-13 18:00:20 -0200 |
commit | 3a388da87dd5294f2a2718017a3d6ecc70cfdb17 (patch) | |
tree | 81d970bf8a9e1dd9f5fa1963ec9e81455d711fc8 /guides/source | |
parent | 0f0803fda5df60319d8646bb4f3e71f2e596316a (diff) | |
download | rails-3a388da87dd5294f2a2718017a3d6ecc70cfdb17.tar.gz rails-3a388da87dd5294f2a2718017a3d6ecc70cfdb17.tar.bz2 rails-3a388da87dd5294f2a2718017a3d6ecc70cfdb17.zip |
Revert "incorrect content of models/comment.rb after 'rails generate'"
This reverts commit 0f0803fda5df60319d8646bb4f3e71f2e596316a.
Reason: The content was correct since attr_accessible was removed from
rails master.
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/getting_started.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index f1c390570c..c394f30c38 100644 --- a/guides/source/getting_started.md +++ b/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 ``` |