Example application in Ch.1
Daryl Gubler
2 posts
|
I am using Rails 2.0.1 and when I create the Subscribers Controller in the intro application I receive routing errors (No route matches ”/subscribers/create” with {:method=>:get}), not the Template Missing Error from Figure 1.4 |
Daryl Gubler
2 posts
|
OK… apparently a restart of the WEBrick server resolves this issue. This may be an issue with Rails on Windows? |
Derek DeVries
18 posts
|
Daryl, I’ve only heard of this problem once before, and it was indeed from someone else using Windows. I’ll investigate, and make sure to add a note in the book if this is an issue. Derek |
John Fiala
5 posts
|
Actually, I’m using Kubuntu 7.10, and I ran into the same problem when I created my Users controller. I was really wondering what was going on, and on a whim restarted WEBrick – at which point things started to work again. |
Mike Naberezny
7 posts
|
John, You’re right, it turned out not to be a Windows-specific issue. It was just a coincidence that the first two users to experience it were on Windows. We’ve added a note to the newest version of the book (not released yet) that restarting the web server might be necessary. Mike |
Dustin Tigner
15 posts
|
Hey guys, Does this mean I need to restart the WEBrick server for every model I add? How does this affect live servers? ~Dustin Tigner |
Mike Naberezny
7 posts
|
Dustin, These notes are found under “Starting Up the Server”. In the latest PDF, that’s on page 29. In the printed book, it’s page 14. Mike |
Dustin Tigner
15 posts
|
Mike, Thanks for the clarification. I thought I had downloaded an older version. I must have read over it since it did not pertain to me at that moment. Perhaps with the second version of the book, this little note could be provided after: “Without this template, we are shown the error in Figure 1.4, on the previous page.” on page 37 of the PDF. It could read: “Remember, if you receive a redirecting error message, you may have to restart your server.” Just a suggestion. :) Thanks again for your help! :) ~Dustin Tigner |
8 posts, 5 voices
