method
clean_backtrace
clean_backtrace(exception)
private
Hide source
# File actionpack/lib/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