[Backgroundrb-devel] Can :args only be a string?
David James
davidj503 at gmail.com
Fri Sep 14 12:48:02 EDT 2007
Here's something strange!
the_job_key = MiddleMan.new_worker(
:class => :log_view_to_sf_worker,
:args => "just a string"
)
works fine.
But
the_job_key = MiddleMan.new_worker(
:class => :log_view_to_sf_worker,
:args => {
:landing_page => @landing_page,
:driver => @driver
}
)
does not.
It is as if :args can only be a string, not a hash!
Still exploring this...
-DJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070914/ded2f254/attachment.html
More information about the Backgroundrb-devel
mailing list