How do I connect jQuery Datepicker to my Ruby on Rails form?

ben picture ben · Jul 25, 2010 · Viewed 40.9k times · Source

I'm trying to use the jQuery Datepicker to set a date field in my Ruby on Rails form, but I can't work out how to do it. Can someone point me in the right direction?

Answer

albertopq picture albertopq · Oct 16, 2011

I've built a gem to handle this:

https://github.com/albertopq/jquery_datepicker

Hope it helps somebody else.