Is it possible to create a
collection_select
or
select tag
for a
t.string
Where a user can select amongst predefined values for the string and only those values allowed to be stored in the database for the string? For example
t.string :relationship_status
And I want predefined values:
In a relationship
Single
Maried
Engaged
ETC
The Simplest Thing That Could Possibly Work is along the lines of:
Then later, in the view:
This produces: