add attr_accessible :my_attribute_name.....
to your model.rb file tom On Apr 2, 2012, at 5:33 , aekwolf wrote: > Hey guys, I've just started with Rails. I'm going through the getting > started tutorial, and I'm running into this error: > ActiveModel::MassAssignmentSecurity::Error in PostsController#update > I know it has to do with the new update and the whitelist attributes, > but I don't have the first idea how to fix it. > > Any help would be extremely appreciated! > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. -- =============================================================================== Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz =============================================================================== -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.