I made the select gender field this way:
model:
enum sexo: [:feminino, :masculino, :desconhecido]
def self.sexes_for_select
sexos.keys.map{ |x| [x.humanize, x] }
end
form:
<%= f.select :sexo, Pessoa.sexes_for_select %>
The problem is that I can not add the select sex option, anyone? = D