jnunemaker/httparty — pull request #187 by billvieux (2013-01-26 23:15:56+00:00)
Title: Incorrect value being tested for being a Hash

I think a rename was missed when fixing the warnings. The example with nested hashes at the top of the file was not working for me with version 10.0.1.

The following would fail with: undefined method `each' for "111 Ruby Ave."

options =
{ :name => "Bob",
:address => {
:street => '111 Ruby Ave.',
:city => 'Ruby Central',
:phones => ['111-111-1111', '222-222-2222']
}
}

HTTParty::HashConversions.to_params(options)