lib/lockbox/railtie.rb in lockbox-0.3.5 vs lib/lockbox/railtie.rb in lockbox-0.3.6
- old
+ new
@@ -14,9 +14,10 @@
end
app.config.to_prepare do
if defined?(ActiveStorage)
ActiveStorage::Attachment.include(Lockbox::ActiveStorageExtensions::Attachment)
+ ActiveStorage::Blob.prepend(Lockbox::ActiveStorageExtensions::Blob)
end
end
end
end
end