Skip to content
Browse files

Revert "close the file after putting it on the grid"

This reverts commit 4ecfeaa.

Caused all the tests to fail and came with none of its own. Need to know more of the problem it was solving.
  • Loading branch information...
1 parent 4ecfeaa commit 12fac98059959aab9ba141de03482d5fbc5456d6 @jnunemaker committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/joint/instance_methods.rb
View
1 lib/joint/instance_methods.rb
@@ -24,7 +24,6 @@ def save_attachments
:filename => send(name).name,
:content_type => send(name).type,
})
- io.close if io.respond_to?(:close)
end
assigned_attachments.clear
end

0 comments on commit 12fac98

Please sign in to comment.
Something went wrong with that request. Please try again.