Ruby Remove Element From Array And Object