diff options
author | George Claghorn <george@basecamp.com> | 2018-05-16 22:12:31 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-05-16 22:12:31 -0400 |
commit | ee21b7c2eb64def8f00887a9fafbd77b85f464f1 (patch) | |
tree | f7aae9cbf8ed6dd0921e9cf22ef14e1da7a3273f /activestorage/CHANGELOG.md | |
parent | bfe4248c78ce6e93ebba8c7b9ada1c68cd79bb85 (diff) | |
download | rails-ee21b7c2eb64def8f00887a9fafbd77b85f464f1.tar.gz rails-ee21b7c2eb64def8f00887a9fafbd77b85f464f1.tar.bz2 rails-ee21b7c2eb64def8f00887a9fafbd77b85f464f1.zip |
Add ActiveStorage::Blob#open
[David Robertson & George Claghorn]
Diffstat (limited to 'activestorage/CHANGELOG.md')
-rw-r--r-- | activestorage/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activestorage/CHANGELOG.md b/activestorage/CHANGELOG.md index 679ca0df03..dff4cb4912 100644 --- a/activestorage/CHANGELOG.md +++ b/activestorage/CHANGELOG.md @@ -1,3 +1,8 @@ +* Add `ActiveStorage::Blob#open`, which downloads a blob to a tempfile on disk + and yields the tempfile. Deprecate `ActiveStorage::Downloading`. + + *David Robertson, George Claghorn* + * Pass in `identify: false` as an argument when providing a `content_type` for `ActiveStorage::Attached::{One,Many}#attach` to bypass automatic content type inference. For example: |