can we compare string with integer ruby code example Example: rails comparar string to integer val1 == val2.to_i