Apr14 Sorting arrays of any object in Ruby post author
Today I needed in my test units to assert whether arrays of Active Records objects were equal or not. That requires me to sort the arrays, since order is important when checking for equality of arrays.
Continue reading »