lostboy/workless — pull request #51 by tadassce (2013-03-10 18:07:48+00:00)
Title: Fix for Mongoid 3

Starting with version 3, Mongoid changed the [querying](http://mongoid.org/en/mongoid/docs/querying.html) so `Delayed::Job.all(:conditions => { :failed_at => nil })` returns empty results and therefore no scaling up is happening. This fixes that.