This project is archived and is in readonly mode.

#3228 ✓resolved
Sam Ruby

[PATCH] Ruby 1.9 rescues/_trace.erb

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

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.

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


Referenced by