title: Right way to call definition for Delayed job
body: <p>I am using delayed_job for some processes in my application. It is not taking any effect and run the code on the fly. The following is the code.</p>
  
  <pre><code>Module1::some_definition(param).delay(priority=&gt;3, :run_at=&gt;2.minutes.from_now)
  </code></pre>
  
  <p>Am i doing it the wrong way?</p>
  
  <p><strong>UPDATE:</strong>
  This is what i have done suggested by dimitko. But still i get error.</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    def do_something
        #Google is my module and the do_some_process is definition.
        Google.delay.do_some_process
    end
  end
  </code></pre>