Ruby 1.8 doens't support <symbol>.upcase so cast to a string if needed