I've been going through some RoR tuts and reading Agile Web Developer with Ruby on Rails (I think thats what the book is called) and I've created an admin controller BUT I want the admin controller to manage multiple models as my application isnt run on a single model. In the Depot application with the book I'm reading their admin controller only manages a single table/model. In other examples I've seen, they create a controller for every model.
Is it possible to have multiple scaffolds in a single controller? Or am I totally missing the point.

05-22-2007, 12:30 AM

jayemvee

I am also fairly new to rails... But it doesn't matter...

If you were using 2 different models, i forgot your exact post but here's an example of using 2.