This decision is similar to Microsoft’s choice to push a radically different (and incomplete) Windows 8 product on their loyal fans. The Rails team has been carving out functionality from Rails core and placing it into separate gems for code they don’t believe is used by the majority of apps. Turbolinks is a valuable resource to have if an app calls for it, but why force this upon apps that don’t need it?
Fortunately, removing Turbolinks is dirt simple. First, open your Gemfile and remove the Turbolinks gem:
Second, open your application.js file and remove:
//= require turbolinks
Last, open up your application.js file and remove the two references to “data-turbolinks-track” => true:
We hope you found this article useful. If you see any mistakes, missing features or ways to improve it, please let us know in the comments below so we can update its contents. If you're willing to link to us, we would sincerely appreciate it!