['item1', 'item2', 'item2'].each do |work| Nanite.request(/email/process, work, :selector => :rr) do |res| # check res here and update your db thast the job passed/failed endend