I’m trying to record a list of start and end times, and they’re simply
an hour and a minute. Looking at the API, there’s a select_time
helper, but that just creates the tag. There’s a datetime_select
helper which takes an object and method name, so it does all the
magic…but I only want to worry about the hour and the minute. I’ve
tried writing my own so far and have not been able to figure anything
out. Does anyone have code for a time_select helper that does the
magic of filling in the fields and everything?