[Groonga-commit] ranguba/groonga-client-rails at 6919754 [master] Reduce method call

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Dec 12 13:41:52 JST 2016


Kouhei Sutou	2016-12-12 13:41:52 +0900 (Mon, 12 Dec 2016)

  New Revision: 6919754c9d7a8c0c0c941e99ad71b406dd5b8612
  https://github.com/ranguba/groonga-client-rails/commit/6919754c9d7a8c0c0c941e99ad71b406dd5b8612

  Message:
    Reduce method call

  Modified files:
    lib/groonga/client/searcher.rb

  Modified: lib/groonga/client/searcher.rb (+2 -2)
===================================================================
--- lib/groonga/client/searcher.rb    2016-12-12 12:35:00 +0900 (92ea678)
+++ lib/groonga/client/searcher.rb    2016-12-12 13:41:52 +0900 (a83d414)
@@ -151,8 +151,8 @@ module Groonga
             full_text_searchable_column_names << name
           end
         end
-        Request::Select.new(schema.table).
-          extend(SelectRequest).
+        extensions = [SelectRequest]
+        Request::Select.new(schema.table, extensions).
           match_columns(full_text_searchable_column_names)
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index