[Rails] Chapters 7 to 8 - Loss of "Create My Account" button

2016-07-22 Thread Howard Gilbert
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.

Thank you in anticipation.

-- 
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/98cd85d4-da38-437b-a5ef-0dde8017ee56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] Re: ROUTING ERROR" "No route matches [POST] "/signup - addendum to previous post

2016-07-22 Thread Howard Gilbert


On Thursday, 21 July 2016 16:36:24 UTC+1, Howard Gilbert wrote:
>
> Where I have said pressing "Signup" I should have said pressing "Signup" 
> filling in the form and then pressing "Create my Account" 
>

The original post, to which this adds, seems to not have appeared.  So this 
post should be deleted.  I can't find how to do that. 

-- 
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/0126f235-a566-4df8-ba58-f5909aa306cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] ROUTING ERROR" "No route matches [POST] "/signup - addendum to previous post

2016-07-21 Thread Howard Gilbert
Where I have said pressing "Signup" I should have said pressing "Signup" 
filling in the form and then pressing "Create my Account" 

-- 
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/31281808-8ba5-4135-aa36-c5e402d24945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.