Displaying 2 results from an estimated 2 matches for "backgroundrbunix_localhost_2999".
2007 Jan 22
1
Strange behavior
...javu.com/projects/backgroundrb/ticket/48
i thought i''ll just post ticket link - but well - it''s strange
2) when i switch base class from RailsBase to Base i can''t access MiddleMan
- i get error
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/bac...
2007 Jan 22
1
MiddleMan behavior
...> :second_worker, :args =>
{:id=>2, :text=>"slave"}) works
but when i want to get reference to that object:
::BackgrounDRb::MiddleMan.worker(@second)
yields:
NoMethodError: undefined method `worker'' for BackgrounDRb::MiddleMan:Class
from (drbunix:///tmp/backgroundrbunix_localhost_2999)
(drbunix:///tmp/backgroundrb.8516/first_worker_c6824af92d0ae35bcbba75df4e282
b6f_0_0.158526073008825)
/home/swistak/rails+backgroundrb/lib/workers/first_worker.rb:26:in
`get_second_ref''
from (irb):223
from :0