comfy/comfortable-mexican-sofa — pull request #181 by polar (2012-05-01 16:06:15+00:00)
Title: Issue #179

I believe my pull request will take care of some of the test anomalies, and the issue plaguing me by doing a class.eval on the StringIO class as per issue #179. In order to get PaperClip to play nicely I had to copy the stream to a TempFile and use the ActionDispatch:Http:UploadedFile as a delegate in the files_controller., As PaperClip will automatically recognize this class and apply its UploadFileAdapater. This situation causes the stream to get copied to a Tempfile, and unfortunately, PaperClip paper clip copies it again. But I don't know how else to do this without modifying Paperclip.