If some of your scripts don't work with turbolinks, you should do the following:
ready = -> #your code here $(document).ready(ready) $(document).on('page:load', ready)