Use 2-2-stable in Gemfile
Validate attachment content type in accordance with Paperclip 4 security rules
Whitelist more types.