title: How do I make Active Job retry all jobs forever?
body: <p>I don't want active job to drop jobs when they fail. I want to have a chance to fix the failure and then let them re-run. I tried doing this:</p>
  <pre><code>class ApplicationJob &lt; ActiveJob::Base
    retry_on Exception, attempts: Float::INFINITY
  end
  </code></pre>
  <p>but it didn't work. An email job failed and was just discarded. I'm using delayed_job as the implementation.</p>
  <p>Any ideas how to do it?</p>