Generate scaffold on multiple tables

Hey all, newbie question, quick one.

I know you can do “generate scaffold modelname modelcontroller”

How can I genereate a scaffold for multiple models with 1 controller?

e.g. I have 3 tables and want to admin them all. Do I need 3
controllers and run a seperate scaffold on each of them?

Hi

On Nov 11, 12:16 pm, slindsey3000 [email protected] wrote:

Hey all, newbie question, quick one.

I know you can do “generate scaffold modelname modelcontroller”

How can I genereate a scaffold for multiple models with 1 controller?

cch: You may want to look at ActiveScaffold and nested scaffolds…

CCH
http://cch4rals.blogspot.com