If your code is not getting loaded every time you navigate to a new link, or if your refresh the page. Well, this is how I have fixed my issue.
Delete the following line from
//= require turbolinks
and remove from your
If someone’s reading this and has a better solution, I would love to hear about it!