usually when i do this:
x = [1,2,3,]
result = x.min
but let's say I have a nested array
x = [ [1,"h"], [2,"c"]]
how to i just display the min value (1) and its pair value "h"
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks