transform string into array ruby on rails code example Example: ruby string to array "a b c d".split(" ")