Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails Revisited
Subject:   scaffold error and mongrel problem
Date:   2007-03-24 06:10:44
From:   bill_walton
Response to: scaffold error and mongrel problem

Hi,


The scaffold error is telling you the Rails can't find a table named Recipes in the database it's looking at. It may be that you skipped the step of creating the table.


On the other hand, if you have already created the Recipes table, then you've got a problem in your configuration. Rails bases its processing on the entries in the db\database.yml file. That's the first place to look.


The mongrel problem is definitely a configuration problem.


Are you using the LiveCD distribution we provided a link to? I've not used it myself but it's been highly recommended. At any rate, configuration problems are outside the scope of the article so I'm going to recommend you join us on the Rails mailing list to straighten this out. You can join at http://groups.google.com/group/rubyonrails-talk?hl=en


Hope to see you there!
Bill

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • scaffold error and mongrel problem
    2007-05-17 12:31:59  iceboxstudios [View]

    I had this same problem. I double checked my database config file and all my settings were correct, including the root pwd. Then I did a directory list and realized I was in the ruby root, and not the cookbook2 root ;->