From: bananafishbones Date: 2005-01-23T09:33:16+09:00 Subject: Re: Use of scaffolding in the ONLamp Rails tutorial On Sun, 23 Jan 2005 07:15:56 +0900, Tim Sutherland wrote: > In article , Lyle Johnson wrote: > >I'm going through Curt's excellent Rails tutorial (at > >http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html) and getting > >stuck around the point that I try to add a new row to the recipes > >table by clicking the "Create" button. It seems like the basic > >"scaffolding" approach isn't doing the right thing, because it never > >adds a row to the database for the newly created recipe(s). Just > >curious if anyone else is having trouble at this point in the > >tutorial? > > It worked for me. > > Is it throwing an error at you? Make sure you've got the db set up correcty - I had a problem using phpMyAdmin until I realized that id needed to be set to auto_increment.