Documentation update for thoughtbot/paperclip#2217. [These lines](https://github.com/thoughtbot/paperclip/blob/95acf3b898bd782f4429d42fd2d8812505390328/lib/paperclip/storage/s3.rb#L101-L112) in the documentation indicated that the value for the `s3_storage_class` configuration option should be `:reduced_redundancy`. However, using this value with Paperclip 5.0.0 results in a `Aws::S3::Errors::InvalidStorageClass` error with the message `The storage class you specified is not valid`. The [documentation for the `Aws::S3::Object#storage_class` method](http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Object.html#storage_class-instance_method) in the `aws-sdk` gem documentation indicates that the correct value is now `REDUCED_REDUNDANCY` (along with a few other potential values).
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
interpolations | Loading commit data... | |
io_adapters | Loading commit data... | |
locales | Loading commit data... | |
matchers | Loading commit data... | |
storage | Loading commit data... | |
validators | Loading commit data... | |
attachment.rb | Loading commit data... | |
attachment_registry.rb | Loading commit data... | |
callbacks.rb | Loading commit data... | |
content_type_detector.rb | Loading commit data... | |
errors.rb | Loading commit data... | |
file_command_content_type_detector.rb | Loading commit data... | |
filename_cleaner.rb | Loading commit data... | |
geometry.rb | Loading commit data... | |
geometry_detector_factory.rb | Loading commit data... | |
geometry_parser_factory.rb | Loading commit data... | |
glue.rb | Loading commit data... | |
has_attached_file.rb | Loading commit data... | |
helpers.rb | Loading commit data... | |
interpolations.rb | Loading commit data... | |
logger.rb | Loading commit data... | |
matchers.rb | Loading commit data... | |
media_type_spoof_detector.rb | Loading commit data... | |
missing_attachment_styles.rb | Loading commit data... | |
processor.rb | Loading commit data... | |
processor_helpers.rb | Loading commit data... | |
rails_environment.rb | Loading commit data... | |
railtie.rb | Loading commit data... | |
schema.rb | Loading commit data... | |
storage.rb | Loading commit data... | |
style.rb | Loading commit data... | |
tempfile.rb | Loading commit data... | |
tempfile_factory.rb | Loading commit data... | |
thumbnail.rb | Loading commit data... | |
url_generator.rb | Loading commit data... | |
validators.rb | Loading commit data... | |
version.rb | Loading commit data... |