There is a slight problem in Rack 1.0.0 that causes a fatal error to be produced when uploading files <= 110K in size. You may need to patch Rack if you see the following error when uploading a file (I saw it with Paperclip):
Here's what you do to patch Rack:
You should now be back in business. Hopefully it won't be too long before an update is released for Rack that includes the patch.
Happy uploading!
References
- Rails Ticket #2497: Rack in Rails 2.3.2 throws fatal error with small uploads
- Rack commit log: Fix multipart uploads on 1.9
- Ruby NYC: paperclip triggering a “invalid byte sequence in US-ASCII” ruby 1.9 rails 2.3
Need web application development, maintenance for your existing app, or a third party code review?
Velocity Labs can help.
Hire us!