[Nitro] Updated blog example

Arne Brasseur arne at arnebrasseur.net
Tue Jun 26 17:26:55 EDT 2007


>     One little thing : in the admin part after saving a post, I was
>     greated
>     with another white screen (although it looked a bit more lively
>     somehow). Maybe a redirect after the save would be nice.
>
Less lively than I thought :

This from simply creating a new post.

ERROR: Error while handling '/admin/og/save'
ERROR: undefined method `unsaved?' for nil:NilClass
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../og/lib/og/collection.rb:155:in 
`remove'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../og/lib/og/collection.rb:155:in 
`remove'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../og/lib/og/collection.rb:134:in 
`<<'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/util/attr.rb:108:in 
`populate_object'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/util/attr.rb:105:in 
`populate_object'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/util/attr.rb:85:in 
`populate_object'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../og/lib/og/model.rb:152:in 
`assign'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../nitro/lib/nitro/part/admin/og/controller.rb:98:in 
`save'
  (eval):4:in `save'
  (eval):4:in `save'
  (eval):3:in `save'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/compiler.rb:65:in 
`save___super'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/controller/publishable.rb:36:in 
`method_missing'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter.rb:69:in 
`handle_context'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter/webrick.rb:134:in 
`do_POST'
  /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/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter/webrick.rb:57:in 
`start'
  
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../nitro/lib/nitro/application.rb:122:in 
`start'
  app.rb:24
  LOGGED FROM: 
/home/plexus/tmp/repo.nitroproject.org/script/lib/../../raw/lib/raw/adapter.rb:83:in 
`handle_context'

-- 
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/20070626/a2afd92c/attachment.html 


More information about the Nitro-general mailing list