[ruby] Find value in an array