[Rails] showing posts in blog

2013-01-12 Thread James Jack-Been
When I make a new post in my blog, it returns this when I try to view my current posts: --- ActiveModel::MassAssignmentSecurity::Error in PostsController#create Can't mass-assign protected attributes: text Rails.root:

Re: [Rails] showing posts in blog

2013-01-12 Thread Dheeraj Kumar
http://guides.rubyonrails.org/security.html#mass-assignment -- Dheeraj Kumar On Sunday 13 January 2013 at 4:30 AM, James Jack-Been wrote: When I make a new post in my blog, it returns this when I try to view my current posts: