title: rails fullcalendar javascript callbacks not working
body: <p>I am trying to integrate fullcalendar in my rails project. I installed the gem and the dependencies (moment.js gem)</p>
  
  <p>The calendar appears but the callbacks within the calendar aren't working.</p>
  
  <p>This is in my custom.js file </p>
  
  <pre><code>$(document).ready(function() {
  
  $("#calendar").fullCalendar({
      dayClick: function() {
          alert('a day has been clicked!');
      }
      });
  });
  </code></pre>
  
  <p>This is my index.html.haml:</p>
  
  <pre><code>.row
      .col-lg-12
          #calendar
  </code></pre>
  
  <p>The calendar appears but when I click on a day the alert does not happen. I have simplified the fullCalendar method so that it only has that one callback now. I assume that it is something wrong with the asset pipeline. Does anyone have any idea?  </p>