# File lib/paperclip/matchers/validate_attachment_content_type_matcher.rb, line 63
        def type_allowed?(type)
          file = StringIO.new(".")
          file.content_type = type
          @subject.attachment_for(@attachment_name).assign(file)
          @subject.valid?
          @subject.errors["#{@attachment_name}_content_type""#{@attachment_name}_content_type"].blank?
        end