kbaum/resque-priority — pull request #1 by loren (2012-02-22 22:03:43+00:00)
Title: Fixes undefined method `to_sym' for nil:NilClass error in priority.rb

Jobs enqueued with Resque.enqueue() are in the default queue with no
priority. When resque-priority is enabled on the class, the call to
perform() fails because the priority is undefined and isn't set to
:normal. This fix just checks that the key coming back from Redis isn't
blank before it hands it to the priority setter.