0

ferret/acts_as_ferret の奇妙な問題を解決しようとしています

もちろん、私はグーグルで質問を投稿しました: http://www.ruby-forum.com/topic/188570

基本的に、aaf は単一のモデルで問題なく動作します。また、セットアップした config/aaf.rb ファイルを使用して、単一のモデルでも動作します。コンソールでマルチモデル検索を行っても機能しますが、Rails アプリ自体では次のようになります。

undefined method `ferret_rank=' for <object that has a match>

誰かが同じ経験/問題を抱えていて、光を当てることができれば幸いです.

PS: 次のチュートリアルに従って、現在の場所を取得しました。 http://opensoul.org/2008/4/29/using-shared-indexes-with-acts_as_ferret

4

1 に答える 1

1

Do you have the plugin installed or just the gem? You might want to install the plugin.

I would also try rebuilding the index.

For my purposes, I switched to Solr and life is a lot easier. Sphinx is missing a lot of stuff that I need.

于 2009-12-02T14:48:13.100 に答える