search for: tail_work

Displaying 2 results from an estimated 2 matches for "tail_work".

Did you mean: aio_work
2006 Jul 10
2
''uninitialized constant'' error
...Windows to get my feet wet with backgroundRB and am running into an ''uninitialized constant'' error when I invoke the controller on my rails app. In ''MyTest'' Controller ------------------- def longrun session[:job_key] = MiddleMan.new_worker(:class => :tail_worker, :args => {:baz => ''hello!'', :qux => ''another arg!''}) end In cookbook\lib\workers\tail_worker.rb ----------------------------------------------- class TailWorker < BackgrounDRb::Rails def do_work(args) puts "Printing from inside TailWo...
2006 Jun 12
0
BackgrounDRb New Release
...amelCase or under_score and should not be suffixed with ''Worker''. The generator creates a worker class in lib/workers and a test suite in test/unit. Example: ./script/generate worker Tail This will create an Tail worker: Model: lib/workers/tail_worker.rb Test: test/unit/tail_worker_test.rb Cheers- -Ezra