Displaying 1 result from an estimated 1 matches for "mail_queue_work".
Did you mean:
mail_queue_worker
2006 Aug 12
1
Multiple args
Hi
It seems the following code do not transfer multiple arguments to the
worker instance:
controller:
=======
# recipients = Hash
# mailing = Mailing model instance
session[:job_key] = MiddleMan.new_worker( :class => :mail_queue_worker,
:args => { :recipients
=> recipients, :mailing => mailing },
:ttl => 800 )
mail_queue_worker.rb:
================
require File.dirname(__FILE__) + "/../../config/environment.rb"
Ac...