Remove flickering flash messages on Turbolinks

If you're using Turbolinks, and flash messages in your Rails app, then this might come in handy. You might have seen flickering flash messages on your pages when you re-visit them in your app. This is because Turbolinks caches the full page content in its own internal cache. And this…