search for: now_to_s

Displaying 1 result from an estimated 1 matches for "now_to_s".

2007 Jun 25
3
one more "uninitialized constant" problem
..._worker.rb class TestingWorker < BackgrounDRb::Worker::RailsBase def do_work(args) # This method is called in it''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(...