lib/active_record/acts/category.rb
# Returns all siblings of the current node.
Returns all siblings of the current node.
Returns all siblings of the current node .
def siblings
          result = self_and_siblings - [self]
          result.delete_if { |sibling| sibling.hidden? }
          result
        end
def siblings result = self_and_siblings - [ self ] result . delete_if { | sibling | sibling . hidden? } result end
Returns all siblings of the current node.
Returns all siblings of the current node .