Skip to content

Commit

Permalink
carrierwaveuploader#1879: remove recently added section from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgesky authored and yataghan committed May 12, 2021
1 parent 1233f7f commit edd5de0
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Expand Up @@ -536,26 +536,6 @@ User.find_each do |user|
end
```

### Recreating versions with `:from_version` dependency

Imagine you have a version with `:from_version`:

```ruby
class MyUploader < CarrierWave::Uploader::Base

version :thumb do
process resize_to_fill: [280, 280]
end

version :small_thumb, from_version: :thumb do
process resize_to_fill: [20, 20]
end

end
```

In this case, when you call `recreate_versions!(:small_thumb)`, both `:small_thumb` and `:thumb` versions will be recreated.

## Configuring CarrierWave

CarrierWave has a broad range of configuration options, which you can configure,
Expand Down

0 comments on commit edd5de0

Please sign in to comment.