rails 3 support #65

Open
mixtli opened this Issue Feb 9, 2010 · 8 comments

Comments

Projects
None yet
9 participants

mixtli commented Feb 9, 2010

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

wtn commented Feb 11, 2010

duplicate, see pacoguzman's ticket

sjain commented Jun 24, 2010

same happens with rails 2.3.8 and bundler

yorzi commented Aug 2, 2010

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

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)

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

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

phlegx commented Jan 24, 2011

It is working now for rail 3.0.3 or not?

Bye

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment