Permalink
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...
1 parent c67b0f7 commit f5f74e2c71f20c203b7e4ed8a5c80dc8e55c59c3 @sikachu sikachu committed Jul 1, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/paperclip.rb
View
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
- # https://github.com/thoughtbot/paperclip/issues/68 for more information.
def validates_attachment_content_type name, options = {}
validation_options = options.dup
allowed_types = [validation_options[:content_type]].flatten

0 comments on commit f5f74e2

Please sign in to comment.