3 ms·I like the fetch method too: > name = details[:info].try(:fetch, :name) > => 'Bob'by nthj 14y agoI like the fetch method too: > name = details[:info].try(:fetch, :name) > => 'Bob'