I have a problem with a new rails program i’ve just started.
I have a list page for my DB table, and all the CRUD stuff is working
fine, except that the ‘new’ and ‘edit’ pages don’t have all the form
components they should have: my db table has fields “id, title, url,
added_at”, and these are all listed on the list page. However, the
‘new’ has only a text field for title, and nothing for “url”.
When i’ve done this before (just with tutorials, i’m a rails noob), a
change to the DB was instantly reflected in the ‘new’ page, ie the
“_form.rhtml” page was automatically modified. This isn’t happening now
though. Does anyone know why?
thanks
By the way, i just checked and if i re-generate the scaffold then the
right boxes appear. I shouldn’t have to do this though should i? When
i worked through the tutorial (DHH’s weblog movie) then DB changes were
represented instantly in the form.