[Nitro] [ANN] Nitro + Og 0.22.0

David Corbin dcorbin at machturtle.com
Sun Aug 7 16:58:56 EDT 2005


I'm not sure if this is new in 22, but I'm getting the following stack trace:

/usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/relation/has_many.rb:24:in 
`resolve_polymorphic': undefined method `relations' for nil:NilClass 
(NoMethodError)
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/relation.rb:157:in `send'
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/relation.rb:157:in 
`resolve'
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/relation.rb:156:in `each'
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/relation.rb:156:in 
`resolve'
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/manager.rb:181:in 
`manage_classes'
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/manager.rb:181:in `each'
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og/manager.rb:181:in 
`manage_classes'
	from /usr/lib/ruby/gems/1.8/gems/og-0.22.0/lib/og.rb:157:in `setup'

I've looked through the code, and it appears that target_class is nil.  I've 
looked, and I can't find anywhere target_class is defined anywhere.  In fact, 
I'd expect to get the "undefined local variable or method" error.

Help.
David



More information about the Nitro-general mailing list