<%start = params[:start].to_i %> <%failed = Resque::Failure.all(start, 20)%> <% index = 0 %>

Failed Jobs

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

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

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