From: Curt Hibbs Date: 2005-01-21T23:32:02+09:00 Subject: Re: [Rails] ONLamp article on Rails Luc Dubois wrote: > > Ah, it didn't take long for this beginner to get stuck ;-) > > I got as far as creating the recipe_controller.rb and when I opened my > browser to "http://127.0.0.1:3000/recipe/new" I got the message > "#42000Unknown database 'rails_development'" > > My database.yml is exactly as described in the article (i.e. the 3 > databases are called "cookbook"), I'm not aware of skipping any of the > steps, after triple-checking the whole sequence. I can't even find a > file which contains in its contents 'rails_development' in the whole > cookbook directory structure. The database.yml file originally used "rails_development" as the db name before you changed it to cookbook, but it sounds like rails isn't seeing your change. Are your sure your saved the changes? If so, maybe something has been cached. Try restarting your web server (or machine). Curt