Capitalizing is capitalizing my frustation


I'm having problems with capitalization in Putting the Form in Formatter. In the module, things are capitalizing properly, but I keep getting an error message

The city, state, and name are capitalizing properly in the final sentence in the module, even when I don't capitalize them in my initial input. However, I still get this message: "Make sure to capitalize! on first_name, last_name, and city"


You need to call the capitalize method with an exclamation point at the end for all your user input's,

first_name = gets.chomp.capitalize!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.