[groonga-dev,01158] Re: ActiveGroonga 1.0.7: paginate bug?

Back to archive index

Kouhei Sutou kou****@clear*****
2013年 1月 3日 (木) 15:31:03 JST


須藤です。

In <50E48****@moriq*****>
  "[groonga-dev,01157] ActiveGroonga 1.0.7: paginate bug?" on Thu, 03 Jan 2013 03:48:54 +0900,
  Kazuhiro Yoshida <moriq****@moriq*****> wrote:

> 手元の環境:
> * macosx 10.7.5
> * ruby 1.8.7
> * rroonga 2.1.0
> * ActiveGroonga 1.0.7
> 
> ActiveGroonga 1.0.4 を利用していたアプリを
> ActiveGroonga 1.0.7 (rroonga 2.1.0) に上げてみたところ
> 任意のモデルでpaginateの結果が空になってしまいます。
> 
> class Site < ActiveGroonga::Base
> end
> 
> Site.all.count #=> 6
> Site.all.paginate.count #=> 0
> 
> rroonga, activegroongaのheadをgit cloneして
> 手元でrake testを実行したところ
> やはりTestResultSet::TestPaginateのtestは失敗します。
> 
> これは知られた現象でしょうか。

いえ、知られた現象ではありません。

rroonga 2.1.0から(paginateが内部で使っている)sort周りのAPI
が変わったのですが、ActiveGroongaがそれに対応していないから
でした。対応したActiveGroonga 2.1.1をリリースしたのでそれを
試してみてもらえますか?

手元ではrake testがパスすることを確認しています。

-- 
須藤 功平 <kou****@clear*****>
株式会社クリアコード <http://www.clear-code.com/> (03-6231-7270)

groongaサポート:
  http://groonga.org/ja/support/
パッチ採用はじめました:
  http://www.clear-code.com/recruitment/
コミットへのコメントサービスはじめました:
  http://www.clear-code.com/services/commit-comment.html




groonga-dev メーリングリストの案内
Back to archive index