diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-05 16:34:51 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-05 16:34:51 -0500 |
commit | cd6fe831526d84ae40e425cadbf22f42a375de2a (patch) | |
tree | 5ebadadab70d6e1dc363dfc7f24a55682dde43de /actionpack | |
parent | 39ba2da82bcc2f9fad494e6ac0a66a3387ab8ee2 (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/lib/action_view/template_error.rb | 2 |
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 |