github/tainted_hash — pull request #7 by charliesome (2014-02-06 02:26:55+00:00)
Title: Pass to_query arguments to @original_hash

`Hash#to_param` (aliased to `to_query`) takes an optional argument in Rails 3: https://github.com/github/rails/blob/3-0-github/activesupport/lib/active_support/core_ext/object/to_param.rb#L45

This pull request changes `TaintedHash::RailsMethods#to_query` so that it passes any arguments on.

cc @github/rails