JC: removed is_a? Numeric in controller which can not tell if '1' could be converted to an integer.