Open dudethatbe opened 9 years ago
https://github.com/datafruits/datafruits/blob/master/app/controllers/shows_controller.rb#L42
should if @show.update_attributes(show_params)
be
if @show.update_attributes(params[:show])q
:question:
It should be post_params
instead of show_params
Thats the wrong controller, here its using params[:post]
instead of post_params
which is causing the error on update:
https://github.com/datafruits/datafruits/blob/master/app/controllers/posts_controller.rb#L53
:+1:
i created a new post, and wanted to edit the title. I get an error when i click submit on post/16/edit :fish: