3 ms·
It's in 2.3 stable, but it appears to no longer be present in edge (in fact, ActionPack has already gone through a lot of changes): http://is.gd/xP8Y http://is
by carbon8 17y ago
It's in 2.3 stable, but it appears to no longer be present in edge (in fact, ActionPack has already gone through a lot of changes):
http://is.gd/xP8Y http://is.gd/xP8Y (github link)
- kscaldef 17y agoyeah, 3.0 changes a lot. It does appear that it will not exhibit the same problem.
- mtarnovan 17y agoString.each is the same as String.each_line in ruby 1.8. This code rewrite seems to be the reason that code breaks on ruby 1.9 if body is a string (this is guarded against in the body setter). (ruby 1.9 removes String.each) http://github.com/josh/rack/tree/master http://github.com/josh/rack/tree/master : * NOTE: String bodies break in 1.9, use an Array consisting of a single String instead. p.s. this is definitely worth a 2.3.3 tag and release