Re: [Rails] Url routing issue - Agile Rails Chapter 6

2010-08-07 Thread Fred Ballard
Use rake routes from any directory in your Rails app to list your routes. I've found it a big help, especially for understanding what's going on behind the scenes. Fred On Sat, Aug 7, 2010 at 2:34 PM, Chris Mear wrote: > On 7 August 2010 19:45, Carl Jenkins wrote: > > I am walking through t

Re: [Rails] Url routing issue - Agile Rails Chapter 6

2010-08-07 Thread Chris Mear
On 7 August 2010 19:45, Carl Jenkins wrote: > I am walking through the tutorial in Agile web development with rails > book 3rd edition. > > When I try to access the url http://localhost:3000/products I get this > error > > No route matches "/products" with {:method=>:get} > > Which - when I look a

[Rails] Url routing issue - Agile Rails Chapter 6

2010-08-07 Thread Carl Jenkins
I am walking through the tutorial in Agile web development with rails book 3rd edition. When I try to access the url http://localhost:3000/products I get this error No route matches "/products" with {:method=>:get} Which - when I look at the products controller I do not understand how the url in