lib/paperclip/railtie.rb in paperclip-2.4.0 vs lib/paperclip/railtie.rb in paperclip-2.4.1

- old
+ new

@@ -17,8 +17,10 @@ class Railtie def self.insert ActiveRecord::Base.send(:include, Paperclip::Glue) File.send(:include, Paperclip::Upfile) + + Paperclip.options[:logger] = defined?(ActiveRecord) ? ActiveRecord::Base.logger : Rails.logger end end end