简体   繁体   English

searchlogic会与Rails 3一起使用吗?

[英]Will searchlogic work with Rails 3?

如果不是我的替代品?

Metawhere - http://metautonomo.us/projects/metawhere/ looks like a promising alternative. Metawhere - http://metautonomo.us/projects/metawhere/看起来是一个很有前途的选择。 ps: discovered metawhere through rubyflow.com. ps:通过rubyflow.com发现了metawhere。 MetaSearch ( http://metautonomo.us/2010/03/07/metasearch-object-based-searching-for-rails-3/ ) by the same author is actually closer to Searchlogic. 同一作者的MetaSearch( http://metautonomo.us/2010/03/07/metasearch-object-based-searching-for-rails-3/ )实际上更接近Searchlogic。

Please use Railsdog's rd_searchlogic (3.0.0.rc4), it's modified to be fully compatible with Rails3. 请使用Railsdog的rd_searchlogic(3.0.0.rc4),它被修改为与Rails3完全兼容。 You can extract this plugin from Spree 0.30 project. 您可以从Spree 0.30项目中提取此插件。

Searchlogic performs 2 functions; Searchlogic执行2个功能; it provides both an extension to scopes, and a form object. 它既提供范围的扩展,也提供表单对象。

The most current, best (IMO) scope extension (successor to MetaWhere): 最新,最佳(IMO)范围扩展(MetaWhere的后继):

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

Most current & best search form object (successor to MetaSearch): 最新的和最好的搜索表单对象(MetaSearch的后继者):

https://github.com/ernie/ransack https://github.com/ernie/ransack

EDIT: 编辑:

I'm currently assessing how well these integrate. 我目前正在评估这些整合的程度。 I did enjoy having them together in Searchlogic. 我确实喜欢在Searchlogic中将它们放在一起。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM