hi-
i’m sure this is a FAQ, but can’t find an answer. i’ve already
developed the model and migration, can i generate controller and views
(forms) scaffolding that looks into the table and picks out the fields
automatically?
thanks,
dino
hi-
i’m sure this is a FAQ, but can’t find an answer. i’ve already
developed the model and migration, can i generate controller and views
(forms) scaffolding that looks into the table and picks out the fields
automatically?
thanks,
dino
not anymore. It’s been removed from Rails 2.0.
However, I made a generator that handles the creation of the forms,
which is
the part that people really care about. It’ll generate the new and edit
forms. It won’t build you a controller, but the code to create / update
records is simple enough.
http://www.napcsweb.com/blog/2007/11/04/scaffoldform-generator/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs