Will searchlogic work with Rails 3?

2019-02-13 22:24发布

问题:

If not what are my alternatives?

回答1:

Metawhere - http://metautonomo.us/projects/metawhere/ looks like a promising alternative. ps: discovered metawhere through rubyflow.com. MetaSearch (http://metautonomo.us/2010/03/07/metasearch-object-based-searching-for-rails-3/) by the same author is actually closer to Searchlogic.



回答2:

Please use Railsdog's rd_searchlogic (3.0.0.rc4), it's modified to be fully compatible with Rails3. You can extract this plugin from Spree 0.30 project.



回答3:

scoped-search - https://github.com/wvanbergen/scoped_search



回答4:

Searchlogic performs 2 functions; it provides both an extension to scopes, and a form object.

The most current, best (IMO) scope extension (successor to MetaWhere):

http://erniemiller.org/projects/squeel/

Most current & best search form object (successor to MetaSearch):

https://github.com/ernie/ransack

EDIT:

I'm currently assessing how well these integrate. I did enjoy having them together in Searchlogic.