Skip to content

Instantly share code, notes, and snippets.

@spikegrobstein
Created December 11, 2012 23:35
iterate through resque failed jobs
1.upto(Resque::Failure.count) do |i|
job = Resque::Failure.all(i)
# inspect failed job
args = job['payload']['args']
klass = job['payload']['class']
end
@pizza-planet
Copy link

hey, this is awesome. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment