I have a javascript file called \"front.js\" i load from \"application.js\" like usual with this code:
//= require front
Inside \"front.js\
I had the same problem when using foundation in my project, you can disable turoblinks by not requiring turbolinks in your application.js file and it should solve the problem.