How do I connect jQuery Datepicker to my Ruby on Rails form?
I've built a gem to handle this:
https://github.com/albertopq/jquery_datepicker
Hope it helps somebody else.
Ryan Bates has a really great explanation of all of this:
http://railscasts.com/episodes/213-calendars (older version you can watch for free)http://railscasts.com/episodes/213-calendars-revised (revised version you need a subscription to watch)
As of now, I'd recommend jquery-ui-rails gem above the other answers for the simple reason you can include only the datepicker assets without the entire jquery ui library!