Hey, guys, Simple Rails is great book, I have 2 question:
first.I’m using the Rails 3, I found lots of command changed from rails 2 which this book uses. Is there any revised version of this book?
Second,
There are the steps I followed
1.rails new generate shovell
- rails generate controller Stories index
and after I run the server
I can’t access the page as the book says
http://localhost:3000/stories
But this page works
http://localhost:3000/stories/index
I think this may due to the changes in rails 3, so how should I change the config/route.rb to make http://localhost:3000/stories accessible? or any comprehensive guide of how to config the route.rb?
Thanks