rails/turbolinks — pull request #132 by YasuOza (2012-12-04 01:59:07+00:00)
Title: Ignore application.js in test or development environment

I think the problem of #118 is that turbolinks does not work in development environment. Today user can use turbolinks only in production environment.

In development environment, the turbolinks' problem is `extractAsstes` detects "application.js" is added in the next page.
By just sending rails environment to the client, client can handle the envoronment difference well.

This commit still requires turbolinks to be the last line in the application.js manifest,
But I think turbolinks should not use server power as much as possible and should use client power.

For that reason, I will submit pull-req '=require turbolinks' to be bottom of application.js manifest later.

This is related #94 #118 #129 and the design is opposite #129.

I want your thoughts.