Skip to content

Commit

Permalink
Using more accurate base name for Tempfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
nstielau committed Jun 9, 2010
1 parent 38db759 commit a244c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/griddle/attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def grid_key

def tempfile
if exists?
tmp = Tempfile.new("tmp_image")
tmp = Tempfile.new("griddle_tmp_file")
tmp << file.read
tmp.close
tmp
Expand Down

0 comments on commit a244c91

Please sign in to comment.