It simply allows ActionController::TestUploadedFile to force it’s tempfile into binary mode. It’s completely backwards compatible.
Without this fix, you can’t test binary file uploads on windows properly.
-Jonathan.
It simply allows ActionController::TestUploadedFile to force it’s tempfile into binary mode. It’s completely backwards compatible.
Without this fix, you can’t test binary file uploads on windows properly.
-Jonathan.
nudge