Closed y-yagi closed 1 year ago
Since v3.0.0, Carrierwave raises NoMethodError when a record is rollbacked if uploaders methods don't call at all.
NoMethodError
NoMethodError: private method `select' called for nil:NilClass current_paths = (@removed_uploaders + @uploaders.select(&:staged)).map(&:path)
This attempts to fix that error and makes work correctly.
Great, thank you for the fix!
Since v3.0.0, Carrierwave raises
NoMethodError
when a record is rollbacked if uploaders methods don't call at all.This attempts to fix that error and makes work correctly.