We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
This is a question rather than a bug. Given the versions:
@versions [:original, :passport, :thumb]
How to delete only the :original or :thumb version after storing the image?
:original
:thumb
I am storing the original image while user uploads but after specific business logic, only passport size is retained for archival purpose.
The delete function given in documentation deletes all versions of the image. Is passing the specific version enough?
Thanks, Gorav
The text was updated successfully, but these errors were encountered:
Right now we have a private delete_version function what does what you want. But there are several ways to retain version if you want to:
delete_version
:skipped
delete
Sorry, something went wrong.
achempion
No branches or pull requests
Hi,
This is a question rather than a bug. Given the versions:
@versions [:original, :passport, :thumb]
How to delete only the
:original
or:thumb
version after storing the image?I am storing the original image while user uploads but after specific business logic, only passport size is retained for archival purpose.
The delete function given in documentation deletes all versions of the image. Is passing the specific version enough?
Thanks,
Gorav
The text was updated successfully, but these errors were encountered: