[Groonga-commit] ranguba/activegroonga at fa78b8d [master] Don't ignore options to create result set

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Dec 23 11:28:53 JST 2014


Kouhei Sutou	2014-12-23 11:28:53 +0900 (Tue, 23 Dec 2014)

  New Revision: fa78b8d910457d0e66a816228affded5481e74dd
  https://github.com/ranguba/activegroonga/commit/fa78b8d910457d0e66a816228affded5481e74dd

  Message:
    Don't ignore options to create result set

  Modified files:
    lib/active_groonga/base.rb

  Modified: lib/active_groonga/base.rb (+2 -1)
===================================================================
--- lib/active_groonga/base.rb    2014-12-23 11:23:00 +0900 (5d98568)
+++ lib/active_groonga/base.rb    2014-12-23 11:28:53 +0900 (da12a51)
@@ -135,7 +135,8 @@ module ActiveGroonga
         records = table.select do |record|
           yield(record)
         end
-        create_result_set(records, :expression => records.expression)
+        create_result_set(records,
+                          options.merge(:expression => records.expression))
       end
 
       def all(options={})
-------------- next part --------------
HTML����������������������������...
다운로드 



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