parikshit
2006-Apr-18 14:11 UTC
[Rails] how to inser value of datetime_select value in database
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 @order=Order.new(params[:stock]) if @order.save render_text "record inserted" end end but it only enter stock name not date time value
Apparently Analagous Threads
- How to get Form values in RubyOnRails
- Adding extra field in form using ajax causes extra field to be overwritten, any way around that.
- placing specific views within a subdirectory?
- How can i specify default time to datetime_select tag
- form error with datetime select