capitalizar el nombre compuesto 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)