https://github.com/rails/rails/pull/13292