I am following the tutorial 'Rolling with Ruby On Instant Rails'. I
tried creating the cookbook2 application. It worked the first time.
To practice, I tried it three times in total and it worked. Now I am
trying it the fourth time and I've done it till the step of editing
the controller class for 'recipe' to add the line:
scaffold :recipe
When I browse to localhost:3000/cookbook2/list
I get an error:
no route found to match "/cookbook2" with {:method=>:get}
I have my Web server running on port 3000. I am sure about that.
Please help.
Mukesh Singh wrote:
I am following the tutorial 'Rolling with Ruby On Instant Rails'. I
tried creating the cookbook2 application. It worked the first time.
To practice, I tried it three times in total and it worked. Now I am
trying it the fourth time and I've done it till the step of editing
the controller class for 'recipe' to add the line:
scaffold :recipe
When I browse to localhost:3000/cookbook2/list
I get an error:
no route found to match "/cookbook2" with {:method=>:get}
I have my Web server running on port 3000. I am sure about that.
Please help.
Please exercise patience before posting the same question multiple times in such a short period... unless you posted the same question from different sites thinking that they are different forums.
See my answer to your earlier question.
Cheers,
Mohit.
11/13/2007 | 12:11 AM.
Mohit,
I'd posted the question first with the title 'Newbie question'.
Incidentally, it got tailed with this already existing thread with the
same title, so I posted again for visibility.
Sorry if it caused you confusion.