defunkt/resque — pull request #730 by tarcieri (2012-10-19 21:20:25+00:00)
Title: Revamp Resque::Failure

I'd like to add a different failure backend to Resque with support for
multiple queues (and based on Redis sorted sets). However, when I dove
into the failed.erb template in order to facilitate this change, I
discovered it was, well... bad?

This change moves iteration of failures into Resque::Failure.each and
now uses that in the template. Many other minor tweaks to the template
are also added to make it more generic and less wonky.