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?
It may be a bit late but I use a simple gem :
Gemfile: gem 'jquery-ui-rails'
gem 'jquery-ui-rails'
Application.js: //= require jquery-ui
//= require jquery-ui
Application.css *= require jquery-ui
*= require jquery-ui
And then: Bundle install
Bundle install
Source : https://github.com/joliss/jquery-ui-rails