Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Hash transform keys is not available in ruby 2.4.x #5

Open
davideluque opened this issue Aug 19, 2020 · 0 comments
Open

Hash transform keys is not available in ruby 2.4.x #5

davideluque opened this issue Aug 19, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@davideluque
Copy link
Owner

params = params.transform_keys(&:upcase)

.transform_keys was introduced in Ruby 2.5.0 and therefore running the gem in Ruby 2.4.x throws an 'undefined method' error.

@davideluque davideluque added the bug Something isn't working label Aug 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant