Flowdock
method

clean_backtrace

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionView::TemplateError
clean_backtrace() public

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_view/template_error.rb, line 22
    def clean_backtrace
      if defined?(Rails) && Rails.respond_to?(:backtrace_cleaner)
        Rails.backtrace_cleaner.clean(original_exception.backtrace)
      else
        original_exception.backtrace
      end
    end
Register or log in to add new notes.