new to rails…I generated scaffolding for a User and eveything seems
to work fine, except that my Id field, which is my primary key (set to
autoinc, not null) is being displayed on the add form as a text box,
which can’t be right. I can add a value in ther and the record will
get inserted, but then on the listing page, I can see that the
record’s id isn’t making it in. The link to edit looks like this:
http://127.0.0.1:3000/users/edit/
No record id appears at the end. I can add it and then get to that
record, but something is clearly horked up. I’ve tried detroying the
table and the recreating but I’m getting the same results. Any ideas?
I’ve aslo run the scaffold command again. I’m running mysql 4.1
thanks,
rich