lib/lockbox.rb in lockbox-0.3.6 vs lib/lockbox.rb in lockbox-0.3.7

- old
+ new

@@ -17,9 +17,12 @@ # integrations require "lockbox/carrier_wave_extensions" if defined?(CarrierWave) require "lockbox/railtie" if defined?(Rails) if defined?(ActiveSupport) + require "lockbox/log_subscriber" + Lockbox::LogSubscriber.attach_to :lockbox + ActiveSupport.on_load(:active_record) do extend Lockbox::Model extend Lockbox::Model::Attached end