private Method

Rescue.clean_backtrace(exception)

There's no documentation for this item.

Source Code

# File action_controller/rescue.rb, line 248
def clean_backtrace(exception)
  if backtrace = exception.backtrace
    if defined?(RAILS_ROOT)
      backtrace.map { |line| line.sub RAILS_ROOT, '' }
    else
      backtrace
    end
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.