searchlogic icon indicating copy to clipboard operation
searchlogic copied to clipboard

rails 3 support

Open mixtli opened this issue 15 years ago • 8 comments

After upgrading to rails 3, I get the following when I start the server:

/Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method': undefined methodmerge_joins' for class Class' (NameError) from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/module/aliasing.rb:31:inalias_method_chain' from /Library/Ruby/Gems/1.8/gems/searchlogic-2.4.10/lib/searchlogic/active_record/consistency.rb:8:in included' from /Library/Ruby/Gems/1.8/gems/searchlogic-2.4.10/lib/searchlogic/active_record/consistency.rb:7:inclass_eval' from /Library/Ruby/Gems/1.8/gems/searchlogic-2.4.10/lib/searchlogic/active_record/consistency.rb:7:in included' from /Library/Ruby/Gems/1.8/gems/searchlogic-2.4.10/lib/searchlogic.rb:18:ininclude' from /Library/Ruby/Gems/1.8/gems/searchlogic-2.4.10/lib/searchlogic.rb:18

mixtli avatar Feb 09 '10 23:02 mixtli

duplicate, see pacoguzman's ticket

wtn avatar Feb 11 '10 12:02 wtn

same happens with rails 2.3.8 and bundler

sjain avatar Jun 24 '10 14:06 sjain

I still can use searchlogic in rails 3. is there anyone using searchlogic in rials successfully?

yorzi avatar Aug 02 '10 06:08 yorzi

The bad news: searchlogic has a lot of stuff that's based on the ActiveRecord 2, so it might be hard to upgrade it to work with ActiveRecord 3 (and Rails 3).

The good news: meta_search works with rails 3 and uses almost the same syntax as searchlogic : http://github.com/ernie/meta_search

I switched over a large app from searchlogic to metasearch just by renaming the searchlogic order method to sort_link (the metasearch equivalent)

bowsersenior avatar Aug 25 '10 21:08 bowsersenior

spree project has ported searchlogic to rails3, called 'rd_searchlogic'

runlevel5 avatar Oct 26 '10 12:10 runlevel5

I think I'll use rd_searchlogic for now, but are there plans for making the gem Rails 3 compatible here? An eta?

metasoarous avatar Nov 02 '10 11:11 metasoarous

It is working now for rail 3.0.3 or not?

Bye

phlegx avatar Jan 24 '11 15:01 phlegx

rd and searchlogic both are not compatible for rails 3 better to go for manual query

singhkishan avatar Mar 28 '14 09:03 singhkishan