Re-generating views after a migration

Hi,

I’m new to Rails and I’m trying to get going with Rails 2.0. How can I
regenerate the views after I make a change to my db schema and run
db:migrate? Everything works for the sql tables but it seems I have to
manually update the views files. Any idea?

Thanks
Gilles

If you’re talking about the scaffold, you can use the same command you
used the first time. it will ask you what files you want to overwrite.

This is true, but note that you have to list off all the fields &
datatypes when you issue the generate scaffold command, or else you’ll
get a bunch of mostly empty templates.

AFAICT, you are intended to manually edit the view files.

HTH,

-Roy

Thanks!