Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Add documentation for strange content type received from Inte…

…rnet Explorer"

Maybe I have to relearn how to read ...

This reverts commit d199e58.
  • Loading branch information...
commit f5f74e2c71f20c203b7e4ed8a5c80dc8e55c59c3 1 parent c67b0f7
Prem Sichanugrist sikachu authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/paperclip.rb
4 lib/paperclip.rb
@@ -351,10 +351,6 @@ def validates_attachment_presence name, options = {}
# NOTE: If you do not specify an [attachment]_content_type field on your
# model, content_type validation will work _ONLY upon assignment_ and
# re-validation after the instance has been reloaded will always succeed.
- #
- # WARNING: There's also some known issue with the content type sent by
- # Internet Explorer might not be the same as other browsers. You can look at
- # for more information.
def validates_attachment_content_type name, options = {}
validation_options = options.dup
allowed_types = [validation_options[:content_type]].flatten
Please sign in to comment.
Something went wrong with that request. Please try again.