On Mon, Oct 21, 2013 at 1:37 PM, desbest <afanintheho...@gmail.com> wrote:
> There is no params as I am just clicking a Signup button that's on a page, > then the error shows up. > I'm using Ruby 1.9.3 and the latest versions of sass-rails and > coffee-rails. > > development.log says this > > > Started POST "/users" for 127.0.0.1 at 2013-10-21 19:35:27 +0100 > Processing by UsersController#create as HTML > Parameters: {"utf8"=>"✓", > "authenticity_token"=>"OhWhPfhLH/3EDeb19LG9u96gu+FUY3cPa+ZdsPN01q8=", > "user"=>{"name"=>"", "email"=>"", "password"=>"[FILTERED]", > "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create my account"} > Completed 500 Internal Server Error in 1ms > > ActiveModel::ForbiddenAttributesError > (ActiveModel::ForbiddenAttributesError): > app/controllers/users_controller.rb:12:in `create' > > One should not claim a tutorial is broken before finishing it, because clearly further down: http://ruby.railstutorial.org/chapters/sign-up#sec-strong_parameters -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQnyyVxeVU3HJjF0w%3DhAJXjbkhSe4n4z2DvM4FPW7id5%2BBg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.