SyntaxFix
Write A Post
Hire A Developer
Questions
If you are trying to capitalize the first letter of each word in an array you can simply put this:
array_name.map(&:capitalize)