lib/acs/ldap/mapper.rb in acs-ldap-0.2.6 vs lib/acs/ldap/mapper.rb in acs-ldap-0.2.7
- old
+ new
@@ -83,18 +83,18 @@
def _chain_methods(object, chain_method, options = {})
separator = options[:separator] || '.'
force_method_calls = options[:force_method_calls] || false
- Acs::Ldap.logger.debug "Acs::Ldap::Mapper chain_method on object '#{object}' with chain '#{chain_method}' separator '#{separator}'"
+ #Acs::Ldap.logger.debug "Acs::Ldap::Mapper chain_method on object '#{object}' with chain '#{chain_method}' separator '#{separator}'"
methods = chain_method.to_s.split(separator)
if methods.length > 1
method = methods.shift.to_sym
child_object = object.send(method)
return chain_methods(child_object, methods.join(separator), options)
else
value = object.send(methods[0].to_sym)
- Acs::Ldap.logger.debug "Acs::Ldap::Mapper chain_method returns '#{value}'"
+ #Acs::Ldap.logger.debug "Acs::Ldap::Mapper chain_method returns '#{value}'"
return value
end
end
end