rails/turbolinks — pull request #89 by collin (2012-10-16 03:14:49+00:00)
Title: rescue ActionDispatch::IllegalStateError

To be specific:

When using ActionController::Live, the headers may have already been
flushed by the time this is called. Which results in an error.

I'm not actually convinced this is the best way to resolve the issue.
But it is illustrative of an error case that isn't handled.

Anybody have an idea as to what should actually be done in such cases?