<%start = params[:start].to_i %> <%failed = Resque::Failure.all(start, 20)%> <% index = 0 %> <% date_format = "%Y/%m/%d %T %z" %>

Failed Jobs

<%unless failed.empty?%>
<%end%>

Showing <%=start%> to <%= start + 20 %> of <%= size = Resque::Failure.count %> jobs

<%= partial :next_more, :start => start, :size => size %>