You can also do site-specific stuff if you know some of the querystring will be valuable
bluri.canonicalize!(allow_query: :all)
bluri.canonicalize!(allow_query: [:a, :c])
# or
bluri.canonicalize!(allow_query: ['a', 'c'])
The previously-established rules
This is a gem for canonicalising HTTP URIs such that we can boil our input set of URIs down to something that is much
smaller than it would otherwise be. We do this aggressively by:
lowercasing URIs
removing query strings (unless told otherwise)
removing fragments
escaping and unescaping various characters and escape sequences according to RFC3986
Contributing
Fork it
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)