Ruby - Show Deltas Between 2 array of hashes based on subset of hash keys
问题 I'm attempting to compare two arrays of hashes with very similar hash structure (identical and always-present keys) and return the deltas between the two--specifically, I'd like to capture the folllowing: Hashes part of array1 that do not exist in array2 Hashes part of array2 that do not exist in array1 Hashes which appear in both data sets This typically can be achieved by simply doing the following: deltas_old_new = (array1-array2) deltas_new_old = (array2-array1) The problem for me (which