Commit 2dd5d50d by brad dunbar Committed by Jon Yurek

Delegate close! to @tempfile

parent 73d40d16
......@@ -5,7 +5,7 @@ module Paperclip
OS_RESTRICTED_CHARACTERS = %r{[/:]}
attr_reader :content_type, :original_filename, :size
delegate :close, :closed?, :eof?, :path, :rewind, :unlink, :to => :@tempfile
delegate :close, :close!, :closed?, :eof?, :path, :rewind, :unlink, :to => :@tempfile
def fingerprint
@fingerprint ||= Digest::MD5.file(path).to_s
......
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