Flowdock
method

clean_backtrace

Importance_0
v1.2.6 - 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 138
      def clean_backtrace(exception)
        exception.backtrace.collect { |line| Object.const_defined?(:RAILS_ROOT) ? line.gsub(RAILS_ROOT, "") : line }
      end
Register or log in to add new notes.