title: Delayed_job: how to use handle_asynchronously to work with a function?
body: <p>The function is:</p>
  
  <pre><code>def createuser(name,pass,time)
     puts name,pass,time
  end
  </code></pre>
  
  <p>I try:</p>
  
  <pre><code>handle_asynchronously :createuser("a","b","c")
  </code></pre>
  
  <p>and got a error:syntax error, unexpected '(', expecting keyword_end</p>
  
  <p>thank you.</p>
  
  <p>===EDIT===</p>
  
  <p>user database in japen and web server in beijing. so i use this way to create a user.</p>
  
  <pre><code>def createuser(name,pass,time)
     Net::HTTP.get(URI.parse("http://www.example.net/builduser.php?hao=#{name}&amp;mi=#{pass}&amp;da=#{time}"))
  end
  </code></pre>