Q:

Build a dropdown from values of a database field

I have a field in the database that get populated from a textarea. I insert a lot of values and separate those by inserting a new line for each value. How can i build a dropdown menu from this field in rails?
This is actually what is in the database field
["Drop\r\nDown\r\ntext\r\ntext\r\ntext"]

A:

 > "Drop\r\nDown\r\ntext\r\ntext\r\ntext".split("\r\n")
 => ["Drop", "Down", "text", "text", "text"] 

