app/models/directory.rb
# A directory can contains other directories as well as files
# Deleting is recursive
A directory can contains other directories as well as files
Deleting is recursive
A directory can contains other directories as well as files Deleting is recursive
def _ensure_not_root
    if root?
      throw :abort
    end
  end
def _ensure_not_root if root? throw :abort end end
A directory can contains other directories as well as files
Deleting is recursive
A directory can contains other directories as well as files Deleting is recursive