method

query_hash

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ConnectionUrlResolver
query_hash() private

Converts the query parameters of the URI into a hash.

"localhost?pool=5&reaping_frequency=2"
# => { pool: "5", reaping_frequency: "2" }

returns empty hash if no query present.

"localhost"
# => {}
Show source
Register or log in to add new notes.