Update helper.rb

Apply titleize only for symbol values.