rails/rails — pull request #11163 by nfedyashev (2013-06-28 11:30:04+00:00)
Title: Omit turbolinks configuration completely on skip_javascript generator option

before this commit, when you generate new rails app with `--skip-javascript` option `turbolinks` gem is removed from Gemfile(see app_base.rb) but in `data-turbolinks-track` configuration options are always present in generated application layout.

I've installed rails/railties manually and tried to verify formatting:

rails new demoapp --skip-bundle . ; cat demoapp/app/views/layouts/application.html.erb

DemoApp

<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>

<%= yield %>

which seems to be ok.