Topic: New to RoR..Please help

Hi. I am quite new to Ruby on Rails. I have installed RoR. I am using mysql database.
After creating a database and table name stories when I run the following
code when I run http://127.0.0.1:3000/stories the page displays error and
the webrick server stops. It displays some segmentation fault error in activesupport gem library.

rails test
cd test
ruby script/generate scaffold Story
ruby script/server

Please help me in this regard.. Thanks in advance.

Re: New to RoR..Please help

Post the error message here please.

Re: New to RoR..Please help

Post the error logs here. You can find it in “ProjectName/log/development.log”

Re: New to RoR..Please help

You forgot

rake db:migrate

The MySQL database wont have the proper table setup without that.

From what i've learned, after you create the database, leave it alone, rails will do the rest.

Re: New to RoR..Please help

you have to say
rake db:create and then rake db:migrate.