I ran into an issue in my Rails 4 app while trying to organize JS files \"the rails way\". They were previously scattered across different views. I organized them into separ
None of the above works for me, I solved this by not using jQuery's $(document).ready, but use addEventListener instead.
document.addEventListener("turbolinks:load", function() { // do something });