[Groonga-commit] ranguba/rroonga at 9b23b1e [master] Add missing `:id => true` option

Zurück zum Archiv-Index

Masafumi Yokoyama null+****@clear*****
Fri Oct 3 00:00:16 JST 2014


Masafumi Yokoyama	2014-10-03 00:00:16 +0900 (Fri, 03 Oct 2014)

  New Revision: 9b23b1ef21195847fe0e687cb660552f4027f87d
  https://github.com/ranguba/rroonga/commit/9b23b1ef21195847fe0e687cb660552f4027f87d

  Message:
    Add missing `:id => true` option
    
    It follows the change by commit 06e06f7ef5b754ee65f34169108e4631f1dad300

  Modified files:
    lib/groonga/record.rb

  Modified: lib/groonga/record.rb (+2 -2)
===================================================================
--- lib/groonga/record.rb    2014-10-02 23:35:44 +0900 (5bbd225)
+++ lib/groonga/record.rb    2014-10-03 00:00:16 +0900 (ae8b71d)
@@ -279,9 +279,9 @@ module Groonga
       as_json.to_json(*args)
     end
 
-    # レコードを削除する。
+    # Delete the record.
     def delete
-      @table.delete(@id)
+      @table.delete(@id, :id => true)
     end
 
     # Renames key of the record. Only available for
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index