No, because AFAIK Carrierwave does not cache the version if there is a validation error
If I'm right, Carrierwave caches the version and processes it in the after callback and
validation validation is performed in the before callback.
you can something like this
before_callback :check_for_validation // do some logic after_callback :cache_the_version and process it
Any error in the previous callback causes Carrierwave to bypass the last callback chain
and therefore, you do not have a version cached for stumbling verification errors. (Which I consider to be expected behavior, as I think about it in order to process and create the version if they are not valid )
Error
wrong number of arguments (1 for 0)
This is the expected behavior, too, because #{column}_cache in your case, the image_cache method image_cache not accept any arguments
I donβt think there is any way to display the version cache image ( thumb in your case), given that the version is never cached after receiving a validation error
Correct me if I am wrong :)
Hope for this help
Viren source share