twitter/bootstrap — pull request #5445 by davydotcom (2012-10-07 13:07:38+00:00)
Title: Ajax Based DOM Replacement support

Currently, if the document body is replaced via ajax style websites, there is no way to reinitialize bootstrap js. This now monitors page:load which is also used by the new Rails turbolinks gem created by @dhh.

However, this fix may apply to more than just rails 4 turbolinks but rather any ajax based javascript framework could benefit.

Support Added for Turbolinks which will become standard in rails 4: https://github.com/rails/turbolinks