[Nitro] Newbie question

Aureliano Calvo aurelianocalvo at yahoo.com.ar
Sat Apr 1 17:19:59 EST 2006


Thanks,
I've tried to move the Og.setup after the enchanted
class and it worked. 

Is it posible to modify Og to handle enchanted classes
generated before and after the call of Og.setup?

Thanks again,
Aureliano.

> Think I figured it out. From a mail post in Feb:
> 
> >From mneumann at ntecs.de  Tue Feb  7 11:55:09 2006
> From: mneumann at ntecs.de (Michael Neumann)
> Date: Tue, 7 Feb 2006 17:55:09 +0100
> Subject: [Nitro] (no subject)
> In-Reply-To: <1139327464.17039.17.camel at robs-p4>
> References:
> <B76521EE-13A4-4073-9695-1D2BA9B44BF8 at ntecs.de>
> 	<6a7d49ca0602070728x33160199u at mail.gmail.com>
> 	<1139327464.17039.17.camel at robs-p4>
> Message-ID:
> <69F90338-B824-4E66-8DF9-EBCC5ACC1686 at ntecs.de>
> 
> Sorry, I found my error. I didn't noticed that the
> Og managed classes
> must be defined before calling Og.setup.
> Now everything (hopefully) works.
> 
> Regards,
> 
>    Michael
> 
> Am 07.02.2006 um 16:51 schrieb Rob Pitt:
> > Before calling Nitro.run do:
> >
> > Og.thread_safe = false if ENV['NITRO_INVOKE'] ==
> 'fcgi_proc'
> >
> > On Tue, 2006-02-07 at 16:28 +0100, guillaume
> pierronnet wrote:
> >> yes, i have the same problem and i am
> investigating. Webrick and SCGI
> >> works for me but not fastcgi on apache.
> >>
> >>
> >> 2006/2/7, Michael Neumann <mneumann at ntecs.de>:
> >>> Hi all,
> >>>
> >>> I wanted to try out the newest nitro/og version,
> but it doesn't
> >>> work.
> >>> I always get og/lib/og/entity.rb:434:in
> `method_missing': undefined
> >>> local variable or method 'ogmanager' for
> User:Class.
> >>>
> >>> The ogmanger method seems to be no more defined
> for managed classes.
> >>>
> >>> The latest Nitro/Og looks *very* promising.
> >>>
> >>> Regards,
> >>>
> >>>    Michael
> 
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
> 


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Nitro-general mailing list