Fix a helper method used in refreshing attachments.
Fix a helper method used in refreshing attachments.

glebtv/mongoid-paperclip,xronos-i-am/mongoid-paperclip,meskyanichi/mongoid-paperclip,mrrooijen/mongoid-paperclip