ruby lepaskan elemen nil dalam array
[nil, 'apple', 'orange', '', 'banana'].compact
=> ["apple", "orange", "", "banana"]
Unsightly Unicorn
[nil, 'apple', 'orange', '', 'banana'].compact
=> ["apple", "orange", "", "banana"]