module ActiveLdap::Associations
def self.append_features(base)
def self.append_features(base) super base.extend(ClassMethods) base.class_attribute(:associations) base.associations ||= [] end
def clear_association_cache
def clear_association_cache return if new_record? (self.class.associations || []).each do |association| instance_variable_set("@#{association}", nil) end end