This project is archived and is in readonly mode.

#3411 ✓resolved
Joshua Partogi

Remove RAILS_ROOT from action_dispatch's _trace.erb

Reported by Joshua Partogi | October 22nd, 2009 @ 02:58 PM

There is still RAILS_ROOT at _trace.erb (for Rails 3.0) and it cause this deprecation message:

DEPRECATION WARNING: RAILS_ROOT is deprecated! Use Rails.root instead.. (called from _render_template_505937522_82016200_0 at actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb:10)<br/>

It would be nice if it can be change to Rails.root to remove the warning noise.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket