resque/resque-web — pull request #60 by reprah (2014-08-02 16:27:37+00:00)
Title: Add an option to clear all pending jobs from a given queue

When I'm developing an application that uses Resque, sometimes I need to clear all stale pending jobs in a queue. I do this through the command line but wanted a "Remove Pending Jobs" button next to the "Remove Queue" button in the web interface. When clicked, all the pending jobs would be cleared from the queue but the queue itself would not be destroyed.

I wrote this feature (plus tests) and would like to contribute it if possible. As far as I know, this does not exist in the current web UI. If anyone has feedback or suggestions I will be very receptive of it. Thank you!