Permalink
Browse files

Seems enough to get my app up and running with merb. Tested Tempfile.…

…new('string') in < 1.9.2 rubies and it seemed AOK. No harm, no foul.
  • Loading branch information...
1 parent b5b53f7 commit f739f2884a6ca3b65cce19acc96091b4929d2dbc @xrl xrl committed with pk Aug 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 merb-core/lib/merb-core/dispatch/request_parsers.rb
@@ -84,7 +84,7 @@ def self.multipart(request, boundary, content_length)
name = head[NAME_REGEX, 1]
if filename && !filename.empty?
- body = Tempfile.new(:Merb)
+ body = Tempfile.new('Merb')
body.binmode if defined? body.binmode
end
next

0 comments on commit f739f28

Please sign in to comment.