Re: [resque] Is there a way to selectively remove items from the queue after they've been added?
- Philippe Lafoucrière
- 2011-07-19 @ 05:48
On Tue, Jul 19, 2011 at 12:37 AM, David Parkinson
> I'd like to be able to destroy all items in a particular queue for a given
> user ID, or ActiveRecord model.
> I did a bit of research before asking this question and turned up the
> following. I'm just wondering what the best practice for doing this is.
> Especially as most updates were from last year.
I don't think there's a better practice than #dequeue ;)