A cute little trick with Ruby hashes and .try()

Post by: on March 13, 2016 | 0 Comment

Recently I encountered a situation where incoming JSON was converted to a hash, and certain keys were not always present. Naturally I want to safely grab the values that were ... Read more

Categories:code