Rolling with Ruby on Rails
Subject:   One (Other) Little Problem
Date:   2005-02-01 12:54:37
From:   mangifera
When you describe the creation of the dategory_id field in the recipes table it doesn't say you need to uncheck "NULL Allowed". I had to do this before I could get the end result to work, but I actually don't know anything about it, except what I learned in the tutorial.

The tutorial was awesome by the way.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • One (Other) Little Problem
    2005-06-04 10:50:56  Nygard [View]

    The front-end used in the article also makes the ID columns auto_increment. If you don't make them auto_increment, all of the create actions will fail with duplicate key errors.