In my application I have a class that inherits Shrine from the gem and I don't want it to have the behavior of destroying the previous file if it is updated, because this generates corruption in the path of the previous files that are still requested by my system, because it is stored in cache. Is there any method or configuration that I can declare in my class to avoid the behavior of the following screenshot?

My class that inherits shrine
class FontUploader < Shrine Attacher.validate do validate_extension_inclusion %w[ttf svg otf woff2] end end
In my application I have a class that inherits Shrine from the gem and I don't want it to have the behavior of destroying the previous file if it is updated, because this generates corruption in the path of the previous files that are still requested by my system, because it is stored in cache. Is there any method or configuration that I can declare in my class to avoid the behavior of the following screenshot?
My class that inherits shrine
class FontUploader < Shrine Attacher.validate do validate_extension_inclusion %w[ttf svg otf woff2] end end