The following was copied from here. It’s for Rails 4, but I believe the steps are the same.
-
Remove the
gem 'turbolinks'
line fromGemfile
. -
Remove the
//= require turbolinks
fromapp/assets/javascripts/application.js
. -
Remove the two
"data-turbolinks-track" => true
hash key/value pairs fromapp/views/layouts/application.html.erb
.
Edit: As of at least Rails 5 the last step should refer to "data-turbolinks-track" => "reload"
as opposed to "data-turbolinks-track" => true
. Thanks to @boddhisattva
Edit: As of at least Rails 4.2 you can generate a project without turbolinks to begin with. Just use something like this:
rails new my_app --skip-turbolinks