[Nitro] [ANN] Nitro + Og 0.22.0
George Moschovitis
george.moschovitis at gmail.com
Mon Aug 8 00:59:32 EDT 2005
Please. give me some source code that triggers this behaviour.
-g.
On 8/7/05, David Corbin <dcorbin at machturtle.com> wrote:
> 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
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
--
http://www.gmosx.com
http://www.nitrohq.com
http://www.joy.gr
More information about the Nitro-general
mailing list