Let's say I try to access a hash like this:
This is nice if key1, key2 and key3 exist in the hash(es), but what if, for example key1 doesn't exist?
Then I would get
NoMethodError: undefined method  for nil:NilClass. And nobody likes that.
So far I deal with this doing a conditional like:
if my_hash['key1'] && my_hash['key1']['key2'] …
Is this appropriate, is there any other Rubiest way of doing so?