https://github.com/rails/rails/issues/11395