Hi,
I’m using fields_for and a time_select but he isn’t saving the time in
the db just 00:00:00
All the other fields are fine, but the time_field isn’t working:s
This is my code:
<% form_for :activity, @activity,:url => {:action => “create”} do
|activity_form| %>
<% fields_for :vervolg, @vervolg do |vervolg_form| %>
<% end %>
my migrate file 1
t.column :datum_1_twrak_van, :time
t.column :datum_1_twrak_tot, :time
my migrate file 2
t.column :interventies_pc_pol_aanvangsuur_dag_1, :time
Can someone find my problem?