Getting Started with Rails Guide - possible error

I just tried going through the getting started with rails guide, and found a possible error. I found that the application doesn't work (throws a "Can't mass-assign protected attributes" error) when attempting to post a blog entry. I found that this is corrected by adding a line of code to the tag.rb model file:

attr_accessible :name, :tag_attributes

Could someone please update this in the documentation?