scaffold_controller generator

madth3
Tue, 14 Jun 2011 00:36:10 -0000

Hi:

I''m new to RoR and I apologize if this is a dumb question but
I''ve
read the guides, searched the archives and found nothing.

If I generate a model object and then the scaffold_controller the
result is different than just running the scaffold generator (the
_form partial has no fields in the first case).
I did not expected this and I wanted to first create the models, tweak
them and then generate the scaffolds.

Did I made a mistake somewhere or is this by design?

Ruby 1.9.2
Rails 3.0.7