For a particular object (“MyObject”), I created initial
model/view/controller code by first creating a migration file which
added a table to the database and then running this:
ruby script/generate model MyObject
Multiple model/view/controller files were created as expected.
However, the next migration file version added columns to the original
table. After running migrate again, the table was modified but the view
files such as _form.rhtml were not.
Is there a way to generate this or is manual modification the only way?