Just for the record, pasting here same I shared on IRC :D

``` ruby
URI.decode URI.encode_www_form :a => [1,2]
```

On Ruby `>= 1.9.3`, this outputs: `a=1&b=2`, which is pretty expected, on Ruby `= 1.9.2` it outputs something absolutely insane: `a=[1,+2]`