mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ensure all complied method names are cleaned up in the error backtrace
This commit is contained in:
parent
39ba2da82b
commit
cd6fe83152
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue