lib/lockbox/carrier_wave_extensions.rb in lockbox-1.3.3 vs lib/lockbox/carrier_wave_extensions.rb in lockbox-1.4.0

- old
+ new

@@ -77,10 +77,10 @@ else uploader = self while uploader.parent_version uploader = uploader.parent_version end - uploader.class.name.sub(/Uploader\z/, "").underscore + uploader.class.name.delete_suffix("Uploader").underscore end end # Active Support notifications so it's easier # to see when files are encrypted and decrypted