Anyway I've created a Hash Array :
@example= ['A' => '1', 'B' => '2']
or Array
@example=[1,2]
here you've got the key (being the english name) and the value (the generic equivalent).
what I want to do is make a drop-down single-selection box use these key/value properties to render it correctly,
<%= f.collection_select @example %>
...this doesn't work but what i'd like is generate the form code...
#from HASH
<select >
<option value="1">A</option>
<option value="2">B</option>
</select>
or
#from array
<select>
<option>1</option>
<option>2</option>
</select>
Any help really appreciated.