From: Carl Lerche Date: 2006-11-12T11:27:59+09:00 Subject: Re: Ruby on Rails - Multiple Controllers in a page? Yeah, use components.... if 15 seconds per request is acceptable. (I inherited that code, I didn't develop it myself!) -carl On 11/11/06, David Vallner wrote: > Giles Bowkett wrote: > > Don't use components! > > > > http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails > > > > "For The PHP Trolls" on the end sent me into a giggle fit. > > Also more on-topic, noone said you can't have code outside a controller. > Instead of looking into Rails hackery, just abstract the navigation > logic into a separate component that only calls ActiveRecord classes for > the model, and renders a partial with them when called? You only really > need it to be a controller if it's doing... well... control flow. > > David Vallner > > > > -- EPA Rating: 3000 Lines of Code / Gallon (of coffee)