Why do I get a No Route Matches [GET] “/products” when the route exists?
问题 I'm new to Ruby and Ruby on Rails, am using Ruby 1.9.2 and Rails 3.2.5 on Max OSX Lion, and am working my way through the book "Agile Web Development with Rails (4th Edition)". I've created their sample depot app using the following commands outlined in Chapter 6: rails new depot rails generate scaffold Product title:string description:text image_url:string price:decimal rake db:migrate rails server When I point Safari to "http://localhost:3000/products" I get the following Action Controller: