Paperclip attachment content validator