Retrieve only GET parameters

The rails documentation states:

“All request parameters, whether they come from a GET or POST request,
or from the URL, are available through the params method which returns a
hash.”

How do I get a hash containing only the GET parameters?

Thanks,
Aaron

This seems to work:

request.query_parameters

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs