acts-as-ferret

Is ruby on rails plugin, acts_as_ferret, very buggy?

I am doing a very simple search on my DB using acts_as_ferret. I put this in my "Venue" model: acts_as_ferret :fields => [:name, :city] And this is in my controller search action: @t = Venue.find_by_contents(params[:search]+'~') and then I just render the results. render :text => @t.to_json, :success => true, :status => :ok I...

DelayedJob with acts_as_ferret in production mode

I get the following error when I run my task via DelayedJob: closed stream /usr/lib/ruby/1.8/drb/drb.rb:961:in `select' /usr/lib/ruby/1.8/drb/drb.rb:961:in `alive?' /usr/lib/ruby/1.8/drb/drb.rb:1211:in `alive?' /usr/lib/ruby/1.8/drb/drb.rb:1168:in `open' /usr/lib/ruby/1.8/drb/drb.rb:1166:in `each' /usr/lib/ruby/1.8/drb/drb.rb:1166:in `o...

Clean install of Ubuntu Karmic, Ruby 1.8.7 (2009-04-08 patchlevel 160), jkraemer-acts_as_ferret (0.4.4), Rails 2.3.4 -- Errors with AAF

I have a fresh install of Ubuntu Karmic, Ruby and Rails. I checkout out a working (production) application. Created the databases and ran the rake tasks. Made sure I had all the required gems of which acts_as_ferret by Jens Krämer was one of them. Everything appears to be installed correctly. The gems are listed in environment.rb inclu...

delayed_job talking to acts_as_ferret via drb server results in a closed stream error

I'm using delayed_job to process some files and then create some activerecord objects with the results. The activerecord objects are being indexed with acts_as_ferret which is running as a drb server. When delayed_job processes the job, everything goes fine until it reaches the point when active record tries to talk to ferret via the dr...

acts_as_ferret multi model search not working in rails app

I am trying to solve a strange issue with ferret/acts_as_ferret Of course I have googled and posted the question: http://www.ruby-forum.com/topic/188570 Basically aaf works on single models with no issue. It also works on single models using the config/aaf.rb file I have setup. It even works when I do a multi-model search in the consol...

acts_as_ferret with multiple hosts

I've got everything working with ferret and acts_as_ferret for development (or localhost DRb), but I can't get my multiple host deployment working. All of the remote systems get ECONNREFUSED when accessing the port. On the ferret server, the daemon is listening on localhost only despite the configuration listing the FQDN as the host. ...

acts_as_ferret not searching at all

I am trying get acts_as_ferret working in my rails applications. I have installed the ferret gem. Installed the acts_as_ferret plugin. This is what my model looks like now. class User < ActiveRecord::Base acts_as_ferret :fields => { :first_name => {}, :last_name => {} } I have even tried class User < ActiveRecord::Base ...

need help with acts_as_ferret and will_paginate to play nice together

I have installed will_paginate and acts_as_ferret on my system for ruby rails. My paginate seems to work fine before installing acts_as_ferret. When I put in the code to do searching I get the following error: NoMethodError in Community#search Showing app/views/community/_result_summary.rhtml where line #3 raised: undefined met...

the ferret error in rails project

I use the plugin of acts_as_ferret. when i use find_with_ferret,i got this problem.I got the error messages from the console like this EOFError in 'DestroysController save destroy require reason' End-of-File Error occured at <except.c>:117 in xpop_context Error occured in store.c:216 - is_refill current pos = 0, file length = 0 T...

Can acts_as_ferret be used without the DRb server?

I'm considering AAF for a Rails project, but there seems to be quite a bit of chatter that gives AAF a reputation for being very buggy & unstable. From what I've been able to determine, most problems result from multiple processes trying to write to the Ferret index, but I've not been able to determine whether problems also result when...

Docs or tutorial for "acts_as_ferret"

I've been searching the internet without success, looking for info on acts_as_ferret. The few pages I've found show methods that apparently doesn't exist any more (my rails app show me the "method not found error", and the docs in the acts_as_ferret page are very scarce. Anyone have a good tutorial or API docs about this plugin? ...