> This happens because when start is called without a block and a connection doesn't exist, it proxies to a call with a block. Oops, this should've read: "When request is called and a connection doesn't exist, it proxies to a `start` ...rohitpaulk (Paul Kuruvilla)
From [Net::HTTP's docs](http://ruby-doc.org/stdlib-2.5.0/libdoc/net/http/rdoc/Net/HTTP.html#class-Net::HTTP-label-How+to+use+Net-3A-3AHTTP): > ::start immediately creates a connection to an HTTP server which is kept open for the dura...rohitpaulk (Paul Kuruvilla)
If a class defines the methods `begin` and `end`, Enumerable assumes that it is a `Range` object and tries to access the `exclude_end?` method. ~~~ruby class NotARange include Enumerable # Defines the `#sum` method def each ...rohitpaulk (Paul Kuruvilla)
> Would it make sense to add a deprecation warning in this case? i.e. If the receiver doesn't accept multiple arguments, we emit a deprecation warning and make 2 calls instead of one. If the receiver accepts multiple arguments, we make a...rohitpaulk (Paul Kuruvilla)
> Probably one needs to check that the receiver #write can accept multiple arguments I think that'd be a good approach to ensure that mocked objects in existing programs don't break. Would it make sense to add a deprecation warnin...rohitpaulk (Paul Kuruvilla)
Patch updated (attached) to fix the failures mentioned. There were 10 failures, all within `test/mkmf`. The mocked IO object's `#write` method has been changed to support the interface change in https://bugs.ruby-lang.org/projects/ru...rohitpaulk (Paul Kuruvilla)
Hi, I've attached a patch to make IO#puts use writev if available. Currently, IO#puts calls `write` twice: Once to write the string, and the second to write a newline (if the string doesn't end with one already). With this patch, tho...rohitpaulk (Paul Kuruvilla)
I'm sorry I didn't make myself clear. Whitespace isn't the issue here - look at what's in `$results`. With Erubis: ``` First call to return_block: This should be stored in $results, but not sent to output Second call to r...rohitpaulk (Paul Kuruvilla)