Skip to content
Discussion options

You must be logged in to vote

Hi @thiagopradi, you got it right.

URLs are strings, Indifferent access hashes are string-keyed when converted to regular hashes, Rack::Request params are string keyed to avoid converting symbols back and forth between methods/statements during URL composition.

The old pagy was a mixed bag doing a lot of useless conversions, so they are end2end string keyed now. The change has been reported as a breaking change in the upgrade guide, but admittedly we should move all that scattered info (and options) about URLs into a single resource page in the docs.

Will do ASAP.
Added: URLs docs

HTH

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ddnexus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants