workaround for https://github.com/rails/rails/pull/17047 until it is merged