Forum: Ruby on Rails create form from db

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
A4137000ca3c718424e811cd7511c50b?d=identicon&s=25 Bryce (Guest)
on 2007-03-14 00:07
(Received via mailing list)
I think I have a rather simple question:

I generate forms rather regularly. I would like to make the process as
efficient as possible and would rather generate the markup from the
database much like script/generate scaffold  does. My question is
this: is there a rake task or something that will take the schema of a
db as input and create a _table.rhtml file?

Thanks in advance,

A332dcb1e051f733dc9a9bd78df3b560?d=identicon&s=25 wesgarrison (Guest)
on 2007-03-14 23:19
(Received via mailing list)
Why not just use scaffolding?

  -- Wes
A4137000ca3c718424e811cd7511c50b?d=identicon&s=25 Bryce (Guest)
on 2007-03-15 23:40
(Received via mailing list)
I'd rather not because I don't want a new controller generated and
would like to control the name of _form

This topic is locked and can not be replied to.