New Discussion

Notifications

You’re not receiving notifications from this thread.

Hash Fetch with Default Value Discussion

4
General

Guarantee you I've made this mistake many times over the years. πŸ˜…

I'm sure I'm guilty of it as well!!! Easy one to make especially as there is no mention of such behavior in the docs.

Good lesson. Thanks!

Thanks, Daniel!

Rails Logger behave in a similar way.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 88,834+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.