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

Actually upload the files when passed as File or Pathname #49381

Merged
merged 1 commit into from Sep 25, 2023
Merged

Actually upload the files when passed as File or Pathname #49381

merged 1 commit into from Sep 25, 2023

Conversation

dorianmariecom
Copy link
Contributor

This is a follow-up to #45606

We were storing the file metadata in Blob and Attachment but we were not actually uploading the files (into the file system for instance for disk storage).

It was failing silently so I made it explicit what is accepted and what is unexpected

  • This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.

cc: @p8 @seanpdoyle @byroot @tenderlove @chaadow

This is a follow-up to #45606

We were storing the file metadata in Blob and Attachment but we were not
actually uploading the files (into the file system for instance for disk
storage).

It was failing silently so I made it explicit what is accepted and what
is unexpected
@byroot byroot merged commit 2d196d4 into rails:main Sep 25, 2023
4 checks passed
@dorianmariecom dorianmariecom deleted the fix-upload-of-files branch September 26, 2023 12:10
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.

None yet

2 participants