2022-02-25 15:48:51 -05:00
|
|
|
* Saving attachment(s) to a record returns the blob/blobs object
|
|
|
|
|
|
|
|
Previously, saving attachments did not return the blob/blobs that
|
|
|
|
were attached. Now, saving attachments to a record with `#attach`
|
|
|
|
method returns the blob or array of blobs that were attached to
|
|
|
|
the record. If it fails to save the attachment(s), then it returns
|
|
|
|
`false`.
|
|
|
|
|
|
|
|
*Ghouse Mohamed*
|
|
|
|
|
2022-01-24 12:57:33 -05:00
|
|
|
* Don't stream responses in redirect mode
|
2019-08-16 17:50:16 -04:00
|
|
|
|
2022-01-24 12:57:33 -05:00
|
|
|
Previously, both redirect mode and proxy mode streamed their
|
2022-01-28 01:22:56 -05:00
|
|
|
responses which caused a new thread to be created, and could end
|
|
|
|
up leaking connections in the connection pool. But since redirect
|
|
|
|
mode doesn't actually send any data, it doesn't need to be
|
|
|
|
streamed.
|
2022-01-24 12:57:33 -05:00
|
|
|
|
2022-01-28 01:22:56 -05:00
|
|
|
*Luke Lau*
|
2019-08-16 17:50:16 -04:00
|
|
|
|
2021-12-07 10:52:30 -05:00
|
|
|
Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/activestorage/CHANGELOG.md) for previous changes.
|