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.
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks