diff options
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index c394f30c38..f1c390570c 100644 --- a/guides/source/getting_started.md +++ b/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 ``` |