From: Nicholas Van Weerdenburg Date: 2005-01-22T00:28:18+09:00 Subject: Re: [Rails] ONLamp article on Rails On Fri, 21 Jan 2005 23:46:04 +0900, Luc Dubois wrote: > Curt Hibbs wrote: > > 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 > > > > Thanks, Curt, restarting the web server did the trick. I should have > thought about that myself, but being a beginner I was *convinced* > that *I* had made a mistake somewhere... > > On to the next step, this is going to be a lot of fun, I feel it, you > have a very enthousiastic style of writing, it'll be hard NOT to keep > going... > > luc > > I second that. The prose is fantastic- lean, clean, and enthusiastic. Nick -- Nicholas Van Weerdenburg