Chapters 7 to 8 - Loss of "Create My Account" button
12 views
Skip to first unread message
Howard Gilbert
unread,
Jul 22, 2016, 10:35:15 AM7/22/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I am completely new to Rails and have started working through the online version of Ruby on Rails Tutorial (Rails 5). I am currently baffled and hope someone may be able to suggest something to help
At the end of Chapter 7 I had the "Create My Account" button working both with valid and invalid input data.
This no longer works in Chapter 8. Giving the message: "ROUTING ERROR No route matches [POST] "/signup"".
Routes listed on the Error Page include "POST /login(.:format) sessions#create" I assume this POST stems from "resources :users" in routes.rb but I cannot fathom why it has ceased to work in the new Chapter.
If I add "post '/signup'", to: "users#create" into routes.rb it is back to working fine.