Hi, All<br><br>It appears that when you enque a task, backgroundrb doesn&#39;t pass the &quot;arg&quot; parameter when running the enqued method.<br><br>This is my worker:<br><br>class NotificationWorker &lt; BackgrounDRb::MetaWorker<br>
  set_worker_name :notification_worker<br><br> def create(args = nil)<br>   <a href="http://logger.info">logger.info</a>(&quot;Args: #{args}&quot;)<br> end<br><br>  def send_warranty_notice(data)<br>      <a href="http://logger.info">logger.info</a> &quot;Sending warranty notice id is #{data}&quot;<br>
  end<br>end<br><br>Here&#39;s how I call it from IRB<br><br>MiddleMan.worker(:notification_worker).enq_send_warranty_notice(:arg=&gt;&quot;asdf&quot;,:job_key=&gt;Time.now.to_s,:scheduled_at =&gt; Time.now + 3.seconds)<br>
<br>The &quot;send_warranty_notice&quot; method gets called but the parameter passed (data) is nil.<br><br><br>Calling async_method works fine:<br><br>MiddleMan.worker(:notification_worker).async_send_warranty_notice(:arg=&gt;&quot;asdf&quot;)<br>
<br>prints out &quot;Sending warranty notice id is asdf&quot; in the drb log.<br><br>Also I noticed that on the following page  <a href="http://backgroundrb.rubyforge.org/workers/">http://backgroundrb.rubyforge.org/workers/</a> the following text <br>
<pre class="boxed">MiddleMan(:hello_worker).enq_some_task(:arg =&gt; &quot;hello_world&quot;,:job_key =&gt; &quot;boy&quot;)<br><br>should read<br><br>MiddleMan.worker(:hello_worker).enq_some_task(:arg =&gt; &quot;hello_world&quot;,:job_key =&gt; &quot;boy&quot;)  ... unless I am missing something?<br>
<br><br>Any suggestions on how I can fix the arg passing problem?<br><br><br>Regards<br>Justin Wood<br><br><br><br></pre><br><br><br>