Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

create form from db

0 views
Skip to first unread message

Bryce

unread,
Mar 13, 2007, 7:05:48 PM3/13/07
to Ruby on Rails: Talk
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

unread,
Mar 14, 2007, 6:17:46 PM3/14/07
to Ruby on Rails: Talk
Why not just use scaffolding?

-- Wes

Bryce

unread,
Mar 15, 2007, 6:38:37 PM3/15/07
to Ruby on Rails: Talk
I'd rather not because I don't want a new controller generated and
would like to control the name of _form

Bryce

Reply all
Reply to author
Forward
0 new messages