Posts by Anezio Campos • 121 points
1 post
-
2
votes2
answers637
viewsA: How to insert values from a Select field into the database
From what I understand that’s what you need f.select(:tipo, [['usuario', 'usuario'], ['grafica', 'grafica'], ['diretor', 'diretor'] })