I have a nested array of hashes and am trying to get a copy so that i can delete from the copy without it affecting the original.
However this fails. This is what i am trying.
a = [[some_hash1, some_hash2],[some_hash_3]]
b == a.dup
b[0].delete_at(0)
After this code is executed, some_hash1 is gone from a