I've added the following patch:
It cleans up the html generated by the scaffold generator. It doesn't
change anything major about the structure of the generated code, just
mainly ads id's and classes to the tr's using content_tag_for and
humanizes some labels that weren't there before.
I would like to further add a patch after consulting with you guys
first about further possibly controversial changes I'd like to add to
Firstly I would like to remove the following fields from the generated
new and edit forms:
* created_at, updated_at
* any foreign key field following standard ar foreign id naming
My main reason for this is during rails conf I discovered that more
and more people are using the scaffold resource for creating code.
Almost everyone I talked to had these (well at least the date fields)
as pet pieves.
My suggestion on how to do this is to add a method editable? to the
GeneratedAttribute class. This could then be simply tested in the
generators erb files.