bvandenbos/resque-scheduler — pull request #127 by jmoses (2011-12-22 21:19:21+00:00)
Title: Support for Resque::JobWithStatus being queued via #enqueue_at and friends

Queuing Resque::JobWithStatus jobs fail, as they fall back to the normal Resque::Job.create behavior when they are scheduled. This is because the job_hash doesn't include the :custom_job_class parameter that the config file has support for.

This change allows the jobs to set an instance variable (which isn't the best way but works) that indicates they require the custom_job_class parameter.