3 ms·
I've used it when I want to parse query params from a URL into a hash, and then possibly modify them, and then write them back out to query params -- in the sam
by jrochkind1 12y ago
I've used it when I want to parse query params from a URL into a hash, and then possibly modify them, and then write them back out to query params -- in the same order they came in, so the query params will be identical if I didn't end up modifying them, and identical but for what I modified otherwise, etc.
There are probably other analagous circumstances. Maybe even some I could think of that I've encountered.