rails--rails/activestorage/app
George Claghorn fd61bae02c ActiveStorage::Attachment#signed_id must return a signed *blob* ID
Fixes that calling e.g. `url_for @user.avatar` would return an incorrect URL resulting in a 404. The Active Storage URL helper ends up calling ActiveStorage::Attachment#signed_id, which previously delegated to ActiveStorage::Blob#signed_id but changed to return a signed *attachment* ID in 1a3dc42.

The Active Storage controllers pass signed IDs to ActiveStorage::Blob.find_signed, so we need signed blob IDs.
2020-05-28 09:20:49 -04:00
..
assets/javascripts Defaults content_type to application/octet-stream 2020-01-07 10:30:56 -08:00
controllers Active Storage: allow serving files by proxying 2020-05-11 16:21:58 -04:00
javascript/activestorage Defaults content_type to application/octet-stream 2020-01-07 10:30:56 -08:00
jobs/active_storage Discard ActiveStorage::AnalyzeJobs on ActiveRecord::RecordNotFound 2019-09-28 10:28:21 -04:00
models/active_storage ActiveStorage::Attachment#signed_id must return a signed *blob* ID 2020-05-28 09:20:49 -04:00