I have been following some tutorial to learn some basics
So far I have been able to do everything until I start the Webrick
server(this is fine and can be seen running in the terminal)
Then when I enter http://localhost/book/list instead of seeing the error
listed in the tutorial about a missing template (you’re supposed to go
onto create list.rhtml etc)
I get a different error
No route matches “/book/list”
I have no idea what this is on about. From google searches I understand
there is a routes.rb file which I have opened. But I am not sure what I
need to change in here or even if this is the real cause of the issue.
Any help much appreciated. I am very excited to be learning Ruby and
would really like to be able to complete this tutorial so I can begin my
own web apps.
yes, this tutorial is pretty old. The other one, which suggested here,
is not free of charge. If you are up to pay for a book, than I would
suggest Pragmatice Bookshelf’s books: Pragmatic Bookshelf: By Developers, For Developers
(4th edition coming in a month, about Rails3).