collectiveidea/delayed_job — Issue #319: Is there a way to get delayed_job working on Thin?
Author: Shpigford
Created: 2011-12-12 22:44:27+00:00
State: open

Heroku uses Thin for its web server (or at least that's what they [recommend](http://devcenter.heroku.com/articles/rails3#webserver)), so that seems to imply that you can't use delayed_job on Heroku...which obviously isn't the case since Heroku itself suggests using delayed_job.

So what's the workaround here?

For example, when running on Heroku, my `.delay` generates this:

--- !ruby/object:Delayed::PerformableMethod
object: !ruby/class KM
method_name: :send_or_log_query
args:
- /e?_k=c6a6f93cfe7e386cb580ea2cfa2f954f70592665&_n=Signed+In&_p=josh%40popsurvey.com&_t=1323729190

And then it errors when trying to run it: `undefined method 'send_or_log_query' for Class:Class`