Простейшая вещь, которая могла бы сработать имеет вид:
class Person < ActiveRecord::Base
RELATIONSHIP_STATUSES = [
"single",
"in a relationship",
"together",
"it's complicated"
]
validates :relationship_status, :inclusion => RELATIONSHIP_STATUSES
end
Затем, в представлении:
collection_select(:person, :relationship_status, Person::RELATIONSHIP_STATUSES, :to_s)
Это производит:
<select name="person[relationship_status]">
<option value="single">single</option>
<option value="in a relationship">in a relationship</option>
...
</select>