Hi, real newbie question.
How come this wont save to the database!
<%= select(:to_time_unit, 'id', @time.timearray) %>
to_time_unit is the column is the database that is to hold the selected
'id' is just somethign I made up I dont know whether it is relevant
@time.timearray gets a method from the model that lists an array of
However when I submit my form that holds this select field, it does not
save it to the database, it enters null into the database.
What am I doing wrong please help me!