Generate Parameters for a filter

Hey all,

I want to filter /game/list by several different parameters. If I type in a url like /game/list/?category=5&players=2 category and players come in on the params hash.

Is there a railsy way to generate such a url? I would like to be able to change the filter options individually without affecting the others. For example, to be able to easily change it to /game/list? category=3&players=2 without any string parsing.

Or, if this is the wrong approach, how should I be sending filter options to my game controller?

Thanks for your help!