This project is archived and is in readonly mode.

Ruby 1.9: Strings no longer respond to #each
Reported by David Trasbo | September 20th, 2010 @ 12:14 PM
A test in railties/test/application/routing_test.rb
is causing Rack to try calling #each on a string, which doesn't
work in Ruby 1.9. I'll post a fix in a minute.
Comments and changes to this ticket
-
David Trasbo September 20th, 2010 @ 12:18 PM
- Assigned user set to “José Valim”
- Tag set to “patch”
Here you go. Simply makes the response body an array instead.
-
David Trasbo September 20th, 2010 @ 06:52 PM
- State changed from “new” to “open”
- Importance changed from “” to “Low”
-
David Trasbo September 23rd, 2010 @ 07:07 AM
- State changed from “open” to “resolved”
Fixed in http://github.com/rails/rails/commit/92cb0b8be658eb7e569d0a30c4ef78... - awesome.
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
Tags
Referenced by
-
5668 Ruby 1.9: Strings no longer respond to #each Urgh! Double-post of #5667. Can be marked as duplicate.