Displaying 1 result from an estimated 1 matches for "mytest2_control".
2007 Jun 25
3
one more "uninitialized constant" problem
...39;s own new thread when you
    # call new worker. args is set to :args
      logger.info(''TestingWorker do work'')
    results[:do_work_time] = Time.now_to_s
    results[:done_with_do_work] || = true
  end
  end
   
  And this is the code that I have in RAILS_ROOT/app/controllers/mytest2_controller.rb
  class Mytest2Controller < ApplicationController
  def new
    key = MiddleMan.new_worker(:class => :testing_worker)
    worker = MiddleMan.worker(key)
    #worker.other_method
    #worker.delete
  end
end
   
  And this is what I get when I access: http://host:3000/mytest2/new
   Name...