technoweenie/faraday — pull request #115 by hmarr (2012-01-27 17:29:52+00:00)
Title: Bracketed nested params in the URI query

I propose that `Utils.build_nested_query` is used for constructing the query string rather than `Utils.build_query`, as it will better handle nested hashes being passed in as params.

This is similar to the issue raised in #78 - it was argued that the bracket-style syntax for arrays was non-standard, but the the consensus seemed to favor defaulting to the bracket-style (which matches Rack, PHP and jQuery). Also, unlike the with arrays, there is no existing sensible behaviour for nested hashes that this would replace.