Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Update README for content-type changes [ci-skip]

  • Loading branch information...
commit 97a713f1ab100ff86057ea4fc057afe35540af57 1 parent 3a0978a
@bensie bensie authored
Showing with 2 additions and 14 deletions.
  1. +2 −14
@@ -189,20 +189,8 @@ plugins or client-side software.
## Setting the content type
-If you care about the content type of your files and notice that it's not being set
-as expected, you can configure your uploaders to use `CarrierWave::MimeTypes`.
-This adds a dependency on the [mime-types]( gem,
-but is recommended when using fog, and fog already has a dependency on mime-types.
-require 'carrierwave/processing/mime_types'
-class MyUploader < CarrierWave::Uploader::Base
- include CarrierWave::MimeTypes
- process :set_content_type
+As of v0.10.0, the `mime-types` gem is a runtime dependency and the content type is set automatically.
+You no longer need to do this manually.
## Adding versions

0 comments on commit 97a713f

Please sign in to comment.
Something went wrong with that request. Please try again.