[Nitro] blog example - template rendering issues

Arne Brasseur arne at arnebrasseur.net
Mon Jun 25 14:43:25 EDT 2007


Arne Brasseur schreef:
>
> then started it with the nitro script. All I get is 'white screen of 
> death'.
>
> (ab)
Actually I get an error, didn't see it first

ERROR: Error while handling '/'
ERROR: undefined local variable or method `ogmanager' for Post:Class
  /home/plexus/work/nitro/og/lib/og/model.rb:664:in `method_missing'
  /home/plexus/work/nitro/og/lib/og/model.rb:315:in `all'
  ./app/controller/post.rb:7:in `index'
  (eval):4:in `index'
  (eval):3:in `index'
  /home/plexus/work/nitro/raw/lib/raw/compiler.rb:65:in `index___super'
  /home/plexus/work/nitro/raw/lib/raw/controller/publishable.rb:36:in 
`method_missing'
  /home/plexus/work/nitro/raw/lib/raw/adapter.rb:69:in `handle_context'
  /home/plexus/work/nitro/raw/lib/raw/adapter/webrick.rb:134:in `do_GET'
  /usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
  /home/plexus/work/nitro/raw/lib/raw/adapter/webrick.rb:57:in `start'
  /home/plexus/work/nitro/nitro/lib/nitro/application.rb:131:in `start'
  app.rb:22
  LOGGED FROM: /home/plexus/work/nitro/raw/lib/raw/adapter.rb:83:in 
`handle_context'


(ab)

-- 
Arne Brasseur
http://www.arnebrasseur.net
arne at arnebrasseur.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070625/6ec90639/attachment.html 


More information about the Nitro-general mailing list