Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Remove RAILS_ROOT from action_dispatch's _trace.erb

#3411

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.

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

State: resolved
Milestone: none
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. Craig Buchek
    Craig Buchek
    • Tag set to fixed
    • Assigned user set to Ryan Bigg

    RAILS_ROOT no longer occurs in the _trace.erb file.

    April 13th, 2010 @ 01:33 AM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to resolved

    Confirmed.

    April 13th, 2010 @ 01:38 AM