If a model has an existing attachment and styles, and later a new attachment is added (not just new styles), "rake paperclip:refresh:missing_styles" would crash with "TypeError: can't convert nil into Array".
…nd after save). #fingerprint now consistently returns nil before and after saving an attachment if the value can't be written to the db.
Add documentation for including `aws-sdk` in Gemfile
Add ':keep_old_files' option to `has_attached_file` Set this option to `true` will make paperclip retain your file from the storage engine.
From pcreux@5237495 Conflicts: lib/paperclip/attachment.rb
This fixes #660
This is necessary so Gemnesium will be green.
…rs like "undefined method `strip' for image/bmp:MIME::Type".