method
build_query_string
rails latest stable - Class:
ActionController::Routing::Route
build_query_string(hash, only_keys = nil)public
Build a query string from the keys of the given hash. If only_keys is given (as an array), only the keys indicated will be used to build the query string. The query string will correctly build array parameter values.