mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Remove RAILS_ROOT from backtrace paths. Closes #8540.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Remove RAILS_ROOT from backtrace paths. #8540 [Tim Pope]
|
||||
|
||||
* Routing: map.resource :logo routes to LogosController so the controller may be reused for multiple nestings or namespaces. [Jeremy Kemper]
|
||||
|
||||
* render :partial recognizes Active Record associations as Arrays. #8538 [kamal]
|
||||
|
||||
@@ -98,5 +98,5 @@ end
|
||||
|
||||
if defined?(Exception::TraceSubstitutions)
|
||||
Exception::TraceSubstitutions << [/:in\s+`_run_(html|xml).*'\s*$/, '']
|
||||
Exception::TraceSubstitutions << [%r{^\s*#{Regexp.escape RAILS_ROOT}}, '#{RAILS_ROOT}'] if defined?(RAILS_ROOT)
|
||||
Exception::TraceSubstitutions << [%r{^\s*#{Regexp.escape RAILS_ROOT}/}, ''] if defined?(RAILS_ROOT)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user