I am not sure if either of these will fix the problem but:
First I would upgrade to the latest rails (2.3.2)
Second it is not necessary to specify id in the scaffold command.
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks