Create form from db


#1

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


#2

Why not just use scaffolding?

– Wes


#3

I’d rather not because I don’t want a new controller generated and
would like to control the name of _form

Bryce