Closed sethherr closed 2 months ago
There is this unresolved issue for:
NoMethodError: undefined method
copy'`
For the carrierwave 3.0.7, which is the error that I've seen when this is deployed currently. So I'm trying downgrading.
When deployed with Carrierwave 2.2.6, I saw this error:
NoMethodError: undefined method `key' for nil:NilClass
This stack overflow says adding attr_writer :image_cache
solved the issue.
Redo of PR https://github.com/bikeindex/bike_index/pull/2555 - which was reverted because it caused an error from Carrierwave Backgrounder.
This raises errors on production every time it's deployed.
I may just give up, because ultimately, I'd like to switch to active storage using Cloudflare R2
(which would mean I'd remove
carrierwave_backgrounder
, and do the migration to active storage after Rails is updated)Here is an article on migrating, here is an article on background processing image variants