Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update attachment body assignment #8125

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Conversation

gbp
Copy link
Member

@gbp gbp commented Feb 9, 2024

What does this do?

Update attachment body assignment

Why was this needed?

When masking attachments avoid replacing the blob with a new blob, instead update which retains the blob key and existing metadata.

This means no ActiveStorage::PurgeJob or an additional ActiveStorage::AnalyzeJob for the new blob.

When masking attachments avoid replacing the blob with a new blob,
instead update which retains the blob key and existing metadata.

This means no `ActiveStorage::PurgeJob` or an additional
`ActiveStorage::AnalyzeJob` for the new blob.
@gbp gbp merged commit 08aa218 into develop Feb 9, 2024
7 checks passed
@gbp
Copy link
Member Author

gbp commented Feb 9, 2024

Everything is working as expected on staging with this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant