Why does the titlecase
mess up the name? I have:
John Mark McMillan
and it turns it into:
>> \"john mark McM
The documentation for titlecase says ([emphasis added]):
Capitalizes all the words and replaces some characters in the string to create a nicer looking title. titleize is meant for creating pretty output. It is not used in the Rails internals.
I'm only guessing here, but perhaps it regards PascalCase as a problem - maybe it thinks it's the name of a ActiveRecordModelClass
.