I use simple_form and I need date select as 3 separate input fields (day month year).
This is what I've got, but it is definitely not what I want.
<%= f.date_select :date_of_birth, start_year: Date.today.year - 16,
end_year: Date.today.year - 100,
order: [:day, :month, :year], label: false %>
Thanks for help!
As of now, I just assume I will have to substitute my date_of_birth
with 3 fields in DB and simply write a method which will assemble these into actually date of birth, which I see as ugly path and hoped there is better one.