title: How to disable TurboLinks in Rails 6?
body: <p>So I'm facing this problem where my server does actually retrieve the correct data from the client's request, sending this data to the browser where I can clearly see that its avaible for the browser (CTRL+SHIFT+C > Network > my_request). However, the browser doesn't refresh. So I'm now seeing the previous page's data. After searching for a bit, I determined it was caused by TurboLinks which I then tried to disable as done <a href="http://codkal.com/rails-how-to-remove-turbolinks/" rel="noreferrer">here</a> or <a href="https://stackoverflow.com/questions/38649550/how-to-disable-turbolinks-in-rails-5">here</a>. Yet the browser still won't refresh and show up the newly fetched data. The last thing I did was <code>grep -r turbolink *</code> in my project directory which gave me the following:</p>
  
  <pre><code>app/views/layouts/_dashboard_menu_certified.html.erb:          &lt;%= submit_tag("Apply", {'data-turbolinks': false}) %&gt;
  log/development.log:    21:     &lt;%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %&gt;
  node_modules/@rails/webpacker/README.md:&lt;%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %&gt;
  node_modules/@rails/webpacker/README.md:&lt;script src="/packs/vendor-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/README.md:&lt;script src="/packs/calendar~runtime-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/README.md:&lt;script src="/packs/calendar-1016838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/README.md:&lt;script src="/packs/map~runtime-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/README.md:&lt;script src="/packs/map-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/CHANGELOG.md:&lt;%= stylesheet_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %&gt;
  node_modules/@rails/webpacker/CHANGELOG.md:&lt;%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %&gt;
  node_modules/@rails/webpacker/CHANGELOG.md:&lt;script src="/packs/vendor-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/CHANGELOG.md:&lt;script src="/packs/calendar~runtime-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/CHANGELOG.md:&lt;script src="/packs/calendar-1016838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/CHANGELOG.md:&lt;script src="/packs/map~runtime-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  node_modules/@rails/webpacker/CHANGELOG.md:&lt;script src="/packs/map-16838bab065ae1e314.js" data-turbolinks-track="reload"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Is there something I missed ?
  Cheers.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code>&lt;div class="col-sm-6 card"&gt;
        &lt;% @res.each do |tool, histories| %&gt;
          &lt;div class="chart"&gt;
            &lt;div class="card-header"&gt;
              &lt;div class="nav nav-pills card-header-pills"&gt;
                &lt;%= tool %&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="card-body"&gt;
              &lt;div id="&lt;%= tool %&gt;" class=""&gt;&lt;/div&gt;
              &lt;script&gt;
                new Morris.Line({
                element: "&lt;%= tool %&gt;",
                data: [
                  &lt;% histories.each do |history| %&gt;
                    { date: '&lt;%= history.date %&gt;', value: &lt;%= history.uptodate %&gt;, value2: &lt;%= history.outdated %&gt;, value3: &lt;%= history.error %&gt;},
                  &lt;% end %&gt;
                ],
                xkey: 'date',
                ykeys: ['value', 'value2', 'value3'],
                labels: ['UpToDate', 'OutDated', 'Error']
                })
              &lt;/script&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;% end %&gt;
  &lt;/div&gt;
  </code></pre>