[Nitro] AdminController

Tim Larson tim at keow.org
Thu Dec 29 11:44:29 EST 2005

On Thu, Dec 29, 2005 at 01:46:00PM +0200, George Moschovitis wrote:
> Hmm, I have not tried the admin controller with 30 classes. Perhaps I
> could add a special annotation to controllers to avoid reloading. And
> annotate the Admin controller by default, anyone else has a better
> solution?
> regards,
> George.

George fixed/optimized this in glycerin by only reloading the
controller when a watched file (any watched file, *.rb, *.xhtml)
is changed, causing the admin screens to now be quite snappy :)

--Tim Larson

> On 12/28/05, Tim Larson <tim at keow.org> wrote:
> > When using the AdminController (tested with both 0.26.0 and
> > glycerin) the scaffolding for all the enchanted classes gets
> > rebuilt on every page request.  I have not had time to look
> > for the cause, but I thought I should at least report the
> > effect in case someone else gets a chance to look at it :)
> > In my case this makes the admin pages unusable, since I have
> > 28 enchanted classes and growing and each page load takes
> > about 30 seconds to a minute.
> >
> > --Tim Larson

More information about the Nitro-general mailing list