title: jQuery UI datepicker not working with Rails
body: <p>I am trying to install the jQuery UI Datepicker for my Rails application based on: <a href="https://github.com/joliss/jquery-ui-rails" rel="nofollow">https://github.com/joliss/jquery-ui-rails</a>, as well as the Revised Railscast on this topic and countless threads trying to get this working. No matter what I try it does not seem to work.</p>
  
  <p><strong>application.js</strong></p>
  
  <pre><code>//= require jquery
  //= require jquery_ujs
  //= require jquery.ui.datepicker
  //= require_tree .
  //= require tinymce-jquery
  </code></pre>
  
  <p><strong>application.css</strong></p>
  
  <pre><code> *= require jquery.ui.datepicker
   *= require_self
   *= require_tree .
  </code></pre>
  
  <p><strong>new.html.erb</strong></p>
  
  <pre><code>  &lt;%= f.label :due_date %&gt;
    &lt;%= f.text_field :due_date %&gt;
  </code></pre>
  
  <p><strong>modelname.js.coffee</strong></p>
  
  <pre><code>jQuery -&gt;
  $('#modelname_due_date').datepicker (dateFormat: 'dd-mm-yy')
  </code></pre>
  
  <p>This seems to be all I need to make this work, however I have tried many variations to no avail. There are no errors thrown to the console when debugging in Chrome. Any help is appreciated.</p>