Hi,
I am starting a project in rails and I wish to change scaffolding.
I’ve already done some changes like prepare all texts for locale. Now
I am wishing to change the way it generates the _form partial. Could
someone give some guideline so I can study such thing?
I saw “template_for_inclusion” in form.rhtml but couldn’t find out
how to change it.
Being more specific, I would like to change scaffold to create
lookup combo boxes to simple tables.
An example:
I have table countries and states. States has a country_id field When
I scaffold table states I would like it to generate a combo with
countries.
Thank you for your help.
–
Ricardo A.
[email protected]
Acras Desenvolvimento de Sistemas
+55+41-3232-6404
www.acras.net