thoughtbot/paperclip — pull request #792 by tony-brewerio (2012-03-27 06:53:17+00:00)
Title: Current validation check in AttachmentContentTypeValidator is simply wro...

...ng, it will add an error if any of the allowed_types fails comparison with value, so it will pass only if value is either empty or equals to each and every one of allowed_types.