search for: minute_select

Displaying 1 result from an estimated 1 matches for "minute_select".

2007 Aug 07
0
Newbie: Want to use time_select to partial fill a datetime field
Hello Our Database schema, and hence Our Model has a few datetime columns/ fields. But when entering new instances, We only want to present time (i.e. HH:MM) in in our HTML views to the user. The time_select looks useful, because it has an attractive minute_select: =>15, so the user can enter 1/4 hours increments. The idea being that we would default the Date part of Datetime attribute to Todays.date, prior to the Save in our Model. The problem is the default RAILS <%Forms %> to Active_record constructs, presumes that all the Form Input fields are...