DEV Community

Discussion on: Deploy Rails App from Github to AWS Elastic Beanstalk

Collapse
 
viniciuskneves profile image
Vinicius Kiatkoski Neves

Hey @sname , really nice article.

Btw, I think you forgot to update something here as both snippets are the same:

In your posts_controller, change

def post_params
  params.fetch(:post, {}).permit(:title, :description)
end

to

def post_params
  params.fetch(:post, {}).permit(:title, :description)
end
Collapse
 
sname profile image
Olumuyiwa Osiname

Thanks, updated