I would like to use the jQuery UI Datepicker plugin in my Rails 3 application.
I thought to put it in vendor/plugins/
directory. (Is there a better place ?)
I tried to import the JS file like that:
<%= javascript_include_tag '/vendor/plugins/jquery-ui-1.8.9-datepicker/js/jquery-ui-1.8.9.custom.min.js' %>
but it does not recognize the path.
How should I do this ?