Changing attachment to use paperclip
Not sure what the diff is here, but it seems to work now
Fixing occurrance count and error reporting in attachments