Forum: Ruby on Rails how to inser value of datetime_select value in database

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
parikshit (Guest)
on 2006-04-18 18:12
(Received via mailing list)
hi all
how to insert datetime_select value in database.
i have two fields in my form.rhtml

can any body tell how i can get this value.
i used in controller
def insert[:stock])
      render_text "record inserted"
but it only enter stock name not date time value
This topic is locked and can not be replied to.