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.

Ruby 1.9: Strings no longer respond to #each

#5667

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.

Reported by David Trasbo · September 20th, 2010 @ 12:14 PM

State: resolved
Milestone: none
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. David Trasbo
    David Trasbo
    • Assigned user set to José Valim
    • Tag set to patch

    Here you go. Simply makes the response body an array instead.

    September 20th, 2010 @ 12:18 PM

  2. David Trasbo
    David Trasbo
    • State changed from new to open
    • Importance changed from to Low

    September 20th, 2010 @ 06:52 PM

  3. David Trasbo