[Rails] Re: New Rails User stuck on tutorial = Updating Posts/Mass Assignment

2012-04-03 Thread YogiZoli
Hi, yes, I had the same problem yesterday, and I'm also going through a tutorial - maybe the same one? Solved with 2 steps: added attr_accessible as mentioned earlier message. Also I had to change the RSpec tests from before @user = User.new(name:Example, email:exam...@gmail.com).tap do

[Rails] Re: New Rails User stuck on tutorial = Updating Posts/Mass Assignment

2012-04-02 Thread aekwolf
Thank you!! On Apr 2, 11:57 am, Tom Meinlschmidt to...@meinlschmidt.com wrote: 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