[Nitro] confused about app.dispatcher.root
billk at cts.com
Mon Aug 20 23:12:28 EDT 2007
From: George Moschovitis
> > class StoreController < Nitro::Controller
> no need to extend Nitro::Controller (in fact there is no Nitro::Controller
> class, it is Raw::Controller now)
Ah, OK thanks.
> > ...the error I'm getting is:
> > DEBUG: Rendering '/status_500'
> > ERROR: Error while handling StoreController#index(status_500)
> > ERROR: wrong number of arguments (1 for 0)
> please show as the error BEFORE 'Rendering /status_500'.
That was the first error printed in the logfile. The error that
happened before, was actually printed after. :)
Turned out my old model code was doing ogstore.transaction where
now the ogstore must be omitted.
More information about the Nitro-general