searchlogic icon indicating copy to clipboard operation
searchlogic copied to clipboard

undefined method `merge_joins

Open danielavdh opened this issue 15 years ago • 8 comments

hi

after installing searchlogic 2.4.27 i get this error when starting up rails:

activesupport-3.0.3/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method': undefined methodmerge_joins' for class `Class' (NameError)

I have tried with rails 3.0.3 and 3.0.4 and also with ruby 1.8.7.p174 and 1.9.2 p136

thanks,

daniela

danielavdh avatar Feb 13 '11 17:02 danielavdh

I'm having the same trouble with searchlogic 2.4.28.

erskingardner avatar May 15 '11 08:05 erskingardner

Looks like Searchlogic up to 2.5.6 requires activerecord ~> 2.3.11, so I don't think current versions of Searchlogic will work with Rails 3+. Try https://github.com/ernie/meta_search if you're looking for something with similar functionality that works with more recent versions of Rails.

cobyism avatar Jul 04 '11 03:07 cobyism

cobychapple, are you suggesting that searchlogic will not be fixed and that I should move to meta_search?

anyone have any idea of how long it will be until this is fixed?

red-quark avatar Jul 16 '11 16:07 red-quark

I have no idea whether Searchlogic will be updated or not, as I'm not involved with the project and don't have time to contribute to it myself. I was merely making an observation and suggesting an alternative I've used before. If it makes sense for your purposes to move to meta_search, then go for it.

cobyism avatar Jul 17 '11 02:07 cobyism

i'm getting this error with rails 2.3.8 =(

NullVoxPopuli avatar Aug 31 '11 20:08 NullVoxPopuli

I have the same error with rails 3.1

medvedev84 avatar Nov 03 '11 06:11 medvedev84

I have found cobychapple was right - there is no any support for Searchlogic in Rails3.1, furthermore meta_search is quite old and you should you Squeel and Runsack for such cases

medvedev84 avatar Nov 03 '11 08:11 medvedev84

I was trying this for the first time, then had this error, then found this thread, then left. Trying meta_search/meta_where and squeel.

hrdwdmrbl avatar Nov 18 '11 19:11 hrdwdmrbl