Demo for: https://github.com/rails/rails/issues/9392