Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Implement "symbolize_keys" method #33

Open
vovayartsev opened this Issue · 4 comments

5 participants

@vovayartsev

In v2.0.8 gem, 'symbolize_keys' method neither works nor raises any exceptions, which can lead to unexpected results, e.g.:

Settings.smtp_settings                  # => {"address"=>"smtp.sendgrid.net", "port"=>"587", .....
Settings.smtp_settings.symbolize_keys   # => {"address"=>"smtp.sendgrid.net", "port"=>"587", .....

It would be better if symbolize_keys method worked just like in Hash class

@goosetav goosetav referenced this issue from a commit in goosetav/settingslogic
@goosetav goosetav symbolize_keys method. fix for #33 f890392
@goosetav

I had the exact same use case as @vovayartsev

@atipugin

+1 for this!

@ddonia

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.