The problem I am having is that when I navigate through the form page and I click on the date_sent on my text field, jQuery is supposed to pop-up a datepicker. However, I get nothing at first, but when I refresh the page it works.
//= require jquery
//= require jquery-ui/datepicker
//= require jquery_ujs
//= require bootstrap-sprockets
//= require cocoon
//= require turbolinks
//= require_tree .
*= require jquery-ui/datepicker
*= require_tree .
<div class="form-group" >
<%= f.label :date_sent, class: 'control-label' %><br>
<%= f.text_field :date_sent, id: 'send_date' %>
Did you try
turbolinks:load event ?
$(document).on "turbolinks:load", ->