Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect value being tested for being a Hash #187

Merged
merged 1 commit into from
Jan 27, 2013

Conversation

billvieux
Copy link

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)

jnunemaker pushed a commit that referenced this pull request Jan 27, 2013
Incorrect value being tested for being a Hash
@jnunemaker jnunemaker merged commit 66ded15 into jnunemaker:master Jan 27, 2013
@kachick
Copy link
Contributor

kachick commented Jan 27, 2013

!
Sorry to trouble you, its my fault 😨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants