[Backgroundrb-devel] Strange behavior
skaar
skaar at waste.org
Mon Jan 22 13:20:14 EST 2007
* swistak at expro.pl (swistak at expro.pl) [070122 11:15]:
> Ok two things that bug me
> 1) http://backgroundrb.devjavu.com/projects/backgroundrb/ticket/48
> i thought i'll just post ticket link - but well - it's strange
I will have to look at this. I've seen that there's been a number of
postings on creating workers from other workers, which is something
that I've not myself done all that much.
>
> 2) when i switch base class from RailsBase to Base i can't access MiddleMan
> - i get error
could you try BackgrounDRb::MiddeMan ?
/skaar
>
>
> NameError: uninitialized constant MiddleMan
> from (drbunix:///tmp/backgroundrbunix_localhost_2999)
> (drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
> bb0_0_0.446368947706132)
> /home/swistak/rails+backgroundrb/config/../vendor/rails/activerecord/lib/../
> ../activesupport/lib/active_support/dependencies.rb:123:in `const_missing'
> from (drbunix:///tmp/backgroundrbunix_localhost_2999)
> (drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
> bb0_0_0.446368947706132)
> /home/swistak/rails+backgroundrb/config/../vendor/rails/activerecord/lib/../
> ../activesupport/lib/active_support/dependencies.rb:131:in `const_missing'
> from (drbunix:///tmp/backgroundrbunix_localhost_2999)
> (drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
> bb0_0_0.446368947706132)
> /home/swistak/rails+backgroundrb/config/../vendor/rails/activerecord/lib/../
> ../activesupport/lib/active_support/dependencies.rb:133:in `send'
> from (drbunix:///tmp/backgroundrbunix_localhost_2999)
> (drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
> bb0_0_0.446368947706132)
> /home/swistak/rails+backgroundrb/config/../vendor/rails/activerecord/lib/../
> ../activesupport/lib/active_support/dependencies.rb:133:in `const_missing'
> from (drbunix:///tmp/backgroundrbunix_localhost_2999)
> (drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
> bb0_0_0.446368947706132)
> /home/swistak/rails+backgroundrb/lib/workers/first_worker.rb:10:in
> `new_second'
> from (irb):192
> from :0
>
>
> anyone have any idea why this happens ?
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
--
----------------------------------------------------------------------
|\|\ where in the | s_u_b_s_t_r_u_c_t_i_o_n
| | >=========== W.A.S.T.E. | genarratologies
|/|/ (_) is the wisdom | skaar at waste.org
----------------------------------------------------------------------
More information about the Backgroundrb-devel
mailing list