lib/lockbox/railtie.rb in lockbox-0.1.1 vs lib/lockbox/railtie.rb in lockbox-0.2.0

- old
+ new

@@ -6,10 +6,9 @@ if defined?(ActiveStorage) require "lockbox/active_storage_extensions" ActiveStorage::Attached.prepend(Lockbox::ActiveStorageExtensions::Attached) ActiveStorage::Attached::One.prepend(Lockbox::ActiveStorageExtensions::AttachedOne) ActiveStorage::Attached::Many.prepend(Lockbox::ActiveStorageExtensions::AttachedMany) - ActiveRecord::Base.extend(Lockbox::ActiveStorageExtensions::Model) if defined?(ActiveRecord) end app.config.to_prepare do if defined?(ActiveStorage) ActiveStorage::Attachment.include(Lockbox::ActiveStorageExtensions::Attachment)