This project is archived and is in readonly mode.
[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
-
Repository September 18th, 2009 @ 06:35 PM
- State changed from new to resolved
(from [81c421386c3989e96f1fd3b0370b75155eeda2e1]) 1.9 fix for changes to #to_s. By Sam Ruby. [#3228 state:resolved] http://github.com/rails/rails/commit/81c421386c3989e96f1fd3b0370b75...
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 3228 [PATCH] Ruby 1.9 rescues/_trace.erb (from [81c421386c3989e96f1fd3b0370b75155eeda2e1]) 1.9 fix...