I was playing around with the new scaffold generator and I noticed
that if I generated a model first (which creates a migration) and
updated the migration for the model… and then tried to do a scaffold
of the model, the generator won’t create any usable views or
controller. Essentially, it’s not reading the model or database when
creating the scaffold.
But if delete the model and the migration… and run the scaffold
again w/ the data structure of the model specified, it will create a
usable controller and views.
My questions is: Is there a way to create the models first and
then create the scaffolds… now that the old scaffold generator has