Getting Started with Rails Guide - possible error

29 views
Skip to first unread message

scottc

unread,
Oct 30, 2012, 4:44:02 PM10/30/12
to Ruby on Rails: Documentation
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?
Reply all
Reply to author
Forward
0 new messages