Displaying 1 result from an estimated 1 matches for "active_at".
Did you mean:
active_
2006 Aug 10
1
Convert datetime_select to Time object?
--------------------------
Question 1
--------------------------
I am dealing with a database that holds products and it has a datetime
field called "active_at". so I have the following for active_at:
<%= f.datetime_select :active_at %>
It gives me 5 different params:
params[:product][:active_at(1i)]
params[:product][:active_at(2i)]
params[:product][:active_at(3i)]
params[:product][:active_at(4i)]
params[:product][:active_at(5i)]
How do I c...