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.

[PATCH] Ruby 1.9 rescues/_trace.erb

#3228

Two separate problems.

The first is that Array#to_s in Ruby 1.9 behaves like Array#inspect, whereas in Ruby 1.8 it behaved more like Array#.join. Depending on the behavior #to_s is therefore problematic, and causes the onclick=hide string to become mangled.

The second is that call traces often contain artificial method names like <internal:prelude>, which won't show up at all unless escaped.

This patch addresses both issues.

Reported by Sam Ruby · September 17th, 2009 @ 09:44 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none