December 5th, 2010, 01:40 PM
No routes match
I have a very simple problem.
did anyone follow the tutorial on ruby on the web site "tutorials point"? (I cannot post the url)
I followed it (my application is about questions rather than books), and when I tap the url:
I have this error in my browser:
I have a class "Question" in my apps/model folder, and I have a file question_controller.rb under apps/controller.
No route matches "/question/list"
I didn't touch my routes.rb file, because the tutorial didn't ask to.
What is missing?
December 7th, 2010, 04:28 PM
it works now.
I had to uncomment this line in my routes.rb: