Commit 6c38225b by jyurek

Forgot to change the result Tempfile in IOStream#to_tempfile to binmode

git-svn-id: https://svn.thoughtbot.com/plugins/paperclip/trunk@407 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
parent 0fabebff
......@@ -5,6 +5,7 @@ module IOStream
# Returns a Tempfile containing the contents of the readable object.
def to_tempfile
tempfile = Tempfile.new("stream")
tempfile.binmode
self.stream_to(tempfile)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment