 <p>i was struggling a while back with the same problem. i was following ryan bates screencast on delayed_job and got the same error 'uninitialized constant Delayed::Job'. In the screencast ryan creates a file called mailing_job.rb(located under lib folder) with the delayed_job perform method inside, which allows you to use the enqueue method. After doing some research i found that rails 3 does not automatically load the lib folder files into your app.(not entirely sure)<br /></p> <p>Try this<br /> In your controller where you use this:<br /></p> <pre><code>"Delayed::Job.enqueue do_it(), 0, 1.minutes.from_now.getutc" </code></pre> <p>Try to require the file like this. <br /></p> <pre><code>require 'mailing_job' class AssetsController &lt; ApplicationController def some_method Delayed::Job.enqueue do_it(), 0, 1.minutes.from_now.getutc end end </code></pre>