Skip to content

Instantly share code, notes, and snippets.

@ursm
Created February 5, 2012 13:59
Show Gist options
  • Save ursm/1745705 to your computer and use it in GitHub Desktop.
Save ursm/1745705 to your computer and use it in GitHub Desktop.
class ActiveLdap::Base
def to_real_attribute_name_with_extensible_object(name, allow_normalized_name = true)
to_real_attribute_name_without_extensible_object(name, allow_normalized_name) ||
(classes.include?('extensibleObject') ? name : nil)
end
alias_method_chain :to_real_attribute_name, :extensible_object
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment