lib/active_ldap/callbacks.rb in activeldap-7.0.0 vs lib/active_ldap/callbacks.rb in activeldap-7.2.0

- old
+ new

@@ -24,10 +24,10 @@ module ClassMethods def method_added(meth) super if CALLBACKS.include?(meth.to_sym) - ActiveSupport::Deprecation.warn("Base##{meth} has been deprecated, please use Base.#{meth} :method instead", caller[0,1]) + ActiveLdap.deprecator.warn("Base##{meth} has been deprecated, please use Base.#{meth} :method instead", caller[0,1]) send(meth.to_sym, meth.to_sym) end end end