Commit a1690c51 by Prem Sichanugrist

Add AbstractAdapter#inspect to fix encoding error

According to the discussion in #923, it seems like this should be the
only way to fix this encoding debug issue. I'm also going to coordinate
with aws-sdk to get this fix in the upstream.

Fixes #923, #301
parent 3ad7b015
...@@ -13,6 +13,10 @@ module Paperclip ...@@ -13,6 +13,10 @@ module Paperclip
@tempfile.read(length, buffer) @tempfile.read(length, buffer)
end end
def inspect
"#{self.class}: #{self.original_filename}"
end
private private
def destination def destination
......
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