-
Just as I don't like mixing tabs with spaces I hate it when people type in a form using their real name without any concern for capitalization.
I could had certainly write a one liner that fixes this, but I recently started using the namecase gem which also provides some more interesting cases as well:NameCase("RON BURGUNDY") # => Ron Burgundy NameCase("MCDONALDS") # => McDonalds