thoughtbot/paperclip — pull request #893 by mankyuhan (2012-05-25 19:16:17+00:00)
Title: Rewind before generating fingerprint for Paperclip::StringioAdapter Class

Current fingerprint generates and stores same fingerprint in fingerprint field in the database because it generates MD5 hash from empty string.
Calling rewind method before generating MD5 hash fixes this problem.