rails/rails — pull request #12703 by makimoto (2013-10-30 16:59:28+00:00)
Title: Actionsupport error set backtrace

This pull req fixes handling of backtraces of `ActionView::Template::Error`.

`ActionView::Template::Error` wraps some other exceptions and delegates its backtrace to the original ones.
However, backtrace in `ActionView::Template::Error` is an instance variable and the variable overwrites `Exception#backtrace`.
It may cause unexpected troubles such as ruby/ruby#434.
So I introduce `set_backtrace` instead of `@backtrace` for `ActionView::Template::Error`.