same as above. https://github.com/rails/rails/pull/14474/files#r10919960