Forum: Ruby on Rails create form from db

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bryce (Guest)
on 2007-03-14 01: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,

Bryce
wesgarrison (Guest)
on 2007-03-15 00:19
(Received via mailing list)
Why not just use scaffolding?

  -- Wes
Bryce (Guest)
on 2007-03-16 00: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

Bryce
This topic is locked and can not be replied to.