aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template_error.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-07-05 16:34:51 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-05 16:34:51 -0500
commitcd6fe831526d84ae40e425cadbf22f42a375de2a (patch)
tree5ebadadab70d6e1dc363dfc7f24a55682dde43de /actionpack/lib/action_view/template_error.rb
parent39ba2da82bcc2f9fad494e6ac0a66a3387ab8ee2 (diff)
downloadrails-cd6fe831526d84ae40e425cadbf22f42a375de2a.tar.gz
rails-cd6fe831526d84ae40e425cadbf22f42a375de2a.tar.bz2
rails-cd6fe831526d84ae40e425cadbf22f42a375de2a.zip
Ensure all complied method names are cleaned up in the error backtrace
Diffstat (limited to 'actionpack/lib/action_view/template_error.rb')
-rw-r--r--actionpack/lib/action_view/template_error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template_error.rb b/actionpack/lib/action_view/template_error.rb
index 65d80362b5..a1be1a8833 100644
--- a/actionpack/lib/action_view/template_error.rb
+++ b/actionpack/lib/action_view/template_error.rb
@@ -105,6 +105,6 @@ module ActionView
end
if defined?(Exception::TraceSubstitutions)
- Exception::TraceSubstitutions << [/:in\s+`_run_(html|xml).*'\s*$/, '']
+ Exception::TraceSubstitutions << [/:in\s+`_run_.*'\s*$/, '']
Exception::TraceSubstitutions << [%r{^\s*#{Regexp.escape RAILS_ROOT}/}, ''] if defined?(RAILS_ROOT)
end