Flowdock
method

clean_backtrace

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Rescue
clean_backtrace(exception) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/rescue.rb, line 153
      def clean_backtrace(exception)
        if backtrace = exception.backtrace
          if defined?(RAILS_ROOT)
            backtrace.map { |line| line.sub RAILS_ROOT, '' }
          else
            backtrace
          end
        end
      end
Register or log in to add new notes.