I have the Shovell source code from the book Simply Rails 2, but I'm
having problems running it.

<pre>"Getting started
Here’s how to get rolling:

   1.
      Create your databases and edit config/database.yml

      Rails needs to know your login and password.
   2.
      Use script/generate to create your models and controllers

      To see all available options, run it without parameters.
   3.
      Set up a default route and remove or rename this file

      Routes are set up in config/routes.rb."</pre>

I took step 1, then since the models and controllers are already
generated for a source code that already exists, I skipped step 2 and
since a default route is already set for a source code that already
exists, I skipped step 3.

My config/roubes.rb has map.root :controller => "stories", but
http://localhost:3000/ still doesn't load the stories controller
index. Why?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to