capitalizar o nome composto Ruby
require 'active_support/core_ext'
"kirk douglas".titleize #=> "Kirk Douglas"
Blushing Bird
require 'active_support/core_ext'
"kirk douglas".titleize #=> "Kirk Douglas"
'one TWO three foUR'.gsub(/\w+/, &:capitalize)