Rails 5: how to use $(document).ready() with turbo-links Rails 5: how to use $(document).ready() with turbo-links ruby-on-rails ruby-on-rails