How to compare two arrays of hashes by value in Ruby
Context
Let's say that you have two array of hashes:
a = [
{
initial: "a",
email: "a@example.com"
},
{
email: "b@example.com",
initial: "b"
},
{
initial: "c",
amount: 3,
email: "c@example.com"
}
]
and
b...
allaboutcoding.ghinda.com2 min read