i have problem to make combobox in rails can you help me.
i try this syntax
<%= f.select(:Status) %>
Status is my field in database that have 2 value "perempuan" and
"laki-laki". but i always got error in my rails
and the second problem i want to get value from 2 diffrent field, first
from text_field, and second from select_date, and i want to save it in
one field "TTL" in database, this is the syntax,
<%= f.label :ttl %></td><td>
<%= f.label :":" %></td><td>
<%= f.text_field :TTL %>
<td colspan="3" align="right">
<%= select_date %></td></tr>
i confuse, how to get select_date value and concat it with value form
text_field, and then save it in field "TTL" in database.