fixed compatibility for resque 2

Fixed this deprecation warning for Resque 2:

![screen shot 2013-11-13 at 2 16 40 pm](https://f.cloud.github.com/assets/216188/1536344/4da63ef4-4cb1-11e3-8ac4-2bf6814c53fb.png)