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: C:/Users/Josh Koloff/Desktop/Programming Stuff/Rails
Stuff/blog
Application Trace | Framework Trace | Full Trace
app/controllers/posts_controller.rb:43:in `new'
app/controllers/posts_controller.rb:43:in `create'
Request
Parameters:
{"utf8"=>"✓",
"authenticity_token"=>"KFFrINOVA60MGYf0K3reYLxTFklrkC9uCiLMq2QVQpo=",
"post"=>{"name"=>"",
"title"=>"",
"content"=>"",
"text"=>""},
"commit"=>"Create Post"}
Show session dump
Show env dump
Response
Headers:
None
---------------------------------------------------------------------------
I know I'm not doing what I'm supposed to do. Help?
on 2013-01-13 00:00
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.