method
clean_backtrace
clean_backtrace(exception)
private
Hide source
# File actionpack/lib/action_controller/rescue.rb, line 135 def clean_backtrace(exception) exception.backtrace.collect { |line| Object.const_defined?(:RAILS_ROOT) ? line.gsub(RAILS_ROOT, "") : line } end