From d843f76e7c62bfaead930f84c643d02bcd6191ae Mon Sep 17 00:00:00 2001
From: Mauricio Giacomini Girardello <mauriciogiacomini4@gmail.com>
Date: Tue, 29 Sep 2015 11:29:45 -0300
Subject: [PATCH] remove overwrited method destroy

---
 app/repositories/orient_db/collection_repository.rb | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/app/repositories/orient_db/collection_repository.rb b/app/repositories/orient_db/collection_repository.rb
index 80e6b177..56f36ebd 100644
--- a/app/repositories/orient_db/collection_repository.rb
+++ b/app/repositories/orient_db/collection_repository.rb
@@ -2,13 +2,6 @@ module OrientDb
   class CollectionRepository < Base
     include OrientDb::Methods::EdgeMethods
 
-    # Usage:
-    #   repository.for(:collections).destroy collection
-    #
-    def destroy(collection)
-      connection.command sprintf("DELETE VERTEX %s", collection.id)
-    end
-
     def build_object(args={})
       Collection.new(
           :id => args["@rid"],
-- 
GitLab