From: "Daniel Malcolm Webb [dbw]" Date: 2008-10-31T00:54:31+09:00 Subject: Exceptions & loops I've had a look for exception in here but nothing quite does the job. (10264..10300).each do |i| ... begin question_text = res_q[0][1].gsub('"', "'") rescue Exception=>g end ... End If this query throws and exception is there a way of aborting the current loop i.e. the loop for record #10267 but then loop again for #10268? At the moment it just comes out of question_text = res_q[0][1].gsub('"', "'") and goes onto the next operation within the loop, which is fantastic, but not quite what I want Kind Regards, Dan