From: Sy Ys Date: 2007-05-27T23:41:34+09:00 Subject: Response.End / Exit equivalent in Ruby? If the user types in junk, I'd like to return the user to the original page. Can't seem to do it. How is this typically handled? def getBody url begin open(url) do |file| @body = file.read end rescue SystemCallError flash[:notice] = 'Check failed. This may be a bug but its probably just your fault.' render :action => 'new' ###STOP THE BOAT HERE!!!! end end -- Posted via http://www.ruby-forum.com/.