Response.End / Exit equivalent in Rails??

it seems getBody() is a helper ? i'd catch the exeption in the
controller action, redirect or render the page you want. notice that
you can't call render more than once, but you can call return after
the render call:

  def index
    render :action=>:one and return if params[:id].to_i > 10
    render :action=>:two