How to get custom form fields from controller -- a.k.a. how to not use date helpers in form

Posted by 99miles on Stack Overflow See other posts from Stack Overflow or by 99miles
Published on 2010-02-03T02:41:31Z Indexed on 2010/04/30 22:07 UTC
Read the original article Hit count: 288

Filed under:
|

I created a form with scaffold that includes two datetime fields. I replaced them with a datepicker, and now I'm trying to grab the date from within the controller. Instead of having ruby do all the magic work with the datefields, I instead just have to fields, start_date and stop_date that I want to use, but I can't figure out how to grab them from within my controller. Hints? Thanks!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby