@shacker just for giggles: activity = activities.select {|entry| entry[:id] == "canvas_40544495"}.first