With this simple method you can now fix the rails flaky tests in seconds.