class ActiveLdap::Association::Collection

def flatten_deeper(array)

def flatten_deeper(array)
  array.collect do |element|
    element.respond_to?(:flatten) ? element.flatten : element
  end.flatten
end