Thanks https://github.com/rails/rails/issues/14664#issuecomment-40183326