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, I've tried updating Carrierwave from 2.2.6 to 3.0.7, in my code I've got following line: attachment.file.recreate_versions!(:thumb)
attachment.file.recreate_versions!(:thumb)
It works fine on 2.2.6, on 3.0.7 it raises NoMethodError: undefined method `copy' for nil:NilClass from here:
carrierwave/lib/carrierwave/storage/fog.rb
Line 444 in 287e9a1
In my case, I've noticed it happening when I'm changing file's name:
attachment.file.rename(sanitized_file, keep_original: false) ThumbsJob.perform_later(attachment.id) if attachment.with_thumb?
Not sure if it's a bug connected to latest fixes regarding recreate_versions and original files, or I'm missing something?
Ruby 3.2.3, Rails 7.1.3.2, fog-aws 3.22.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I've tried updating Carrierwave from 2.2.6 to 3.0.7, in my code I've got following line:
attachment.file.recreate_versions!(:thumb)
It works fine on 2.2.6, on 3.0.7 it raises NoMethodError: undefined method `copy' for nil:NilClass from here:
carrierwave/lib/carrierwave/storage/fog.rb
Line 444 in 287e9a1
In my case, I've noticed it happening when I'm changing file's name:
Not sure if it's a bug connected to latest fixes regarding recreate_versions and original files, or I'm missing something?
Ruby 3.2.3, Rails 7.1.3.2, fog-aws 3.22.0
The text was updated successfully, but these errors were encountered: