lib/ancestry/instance_methods.rb
# Validate that the ancestors don't include itself
Validate that the ancestors don't include itself
Validate that the ancestors don ' t include itself
def unscoped_descendants
      self.base_class.send(:with_exclusive_scope) do 
        self.base_class.all(:conditions => descendant_conditions) 
      end
    end
def unscoped_descendants self . base_class . send ( :with_exclusive_scope ) do self . base_class . all ( :conditions => descendant_conditions ) end end
Validate that the ancestors don't include itself
Validate that the ancestors don ' t include itself