search for: act_methods

Displaying 9 results from an estimated 9 matches for "act_methods".

2007 Jun 28
3
acts_as_ferret and capistrano
...ess the simplest solution would be to put it under log/ which is already shared by capistrano, any other ideas? Also, script/ferret_stop doesn''t work when run on a fresh deploy without a index/ dir. It gives an error like: /home/jviney/Workspace/balrog/vendor/plugins/acts_as_ferret/lib/act_methods.rb:1 88:in `open'':Errno::ENOENT: No such file or directory - /home/jviney/Workspace/b alrog/index/production/person Even though it is set up to use DRb, it wrongly expects the index to be present. Aaf shouldn''t do anything with a local index when it is supposed to be using DRb. T...
2007 Apr 03
5
Inifinite loop problem with DRb server
Hi all, We''re attempting to use Ferret with the DRb server at the moment, and it doesn''t work, at all... = Executive Summary The DRb server process keeps on calling the remote index to the DRb server process... Which means DRb is calling itself, and itself, and itself, until Ruby kills the Thread with a SystemStackLevel error. = The excruciating details... # Mongrel is
2007 Mar 31
8
Problem with setting up remote indexing
....jkraemer.net/acts_as_ferret/wiki/DrbServer I added :remote => true to my models and then specified host and port for the production environment. After defining the host/port for production, I tried to run my development server and received the following error: vendor/plugins/acts_as_ferret/lib/act_methods.rb:66:in `acts_as_ferret'': You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. Isn''t it supposed to work just fine even though we don''t specify neither the development nor the test environment in the fer...
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
...rb:215:in `mkdir_p'' /usr/local/lib/ruby/1.8/fileutils.rb:201:in `each'' /usr/local/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:95:in `ensure_directory'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/act_methods.rb:131:in `acts_as_ferret'' #{RAILS_ROOT}/app/models/review.rb:8 #{RAILS_ROOT}/app/controllers/display_controller.rb:6:in `get_published_reviews'' /usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir'' /usr/local/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'' /usr/local...
2007 Nov 11
6
Reducing dependency on remote ferret process
Hi. We use FerretDrb for search. If the ferret process is down, our entire application comes down the moment we try to save a model which is indexed. Is there a way to decouple this relationship such that we can somehow resume normal operations despite ferret being down and not index the model? Thanks. Morten
2007 Sep 13
5
refreshing indexes?
I am new to ferret and am just reading about it in the O''reilly shortcuts as well as other web resources. My app is a Rails app and so I am looking into acts_as_ferret as well. There are some questions for which I couldn''t find answers in the material I have read so far so I''d appreciate any help on these from the list. A bit of a background. My app will have 10,000 -
2007 Oct 03
3
The ferret logs
...exists'' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `send'' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:16:in `method_missing'' /data/fiddle/current/config/../vendor/plugins/acts_as_ferret/lib/act_methods.rb:182:in `acts_as_ferret'' /data/fiddle/current/config/../app/models/ticket.rb:37
2007 May 05
4
Stop words, fields, StandardAnalyzer quagmire
Hello, I''m using: Ruby 1.8.6, Rails 1.2.3, ferret 0.11.4, acts_as_ferret from svn stable. I''ve had quite a day wrestling with trying to remove the use of stopwords. The problem was that when searching for words like "no" or "the", no results were found. I found a confusing thing behavior that has taken me some time to figure out, and I hope sharing it
2006 Nov 28
8
how to update index from a script
Hello all, I''m using AAF right now to index my ~3million db records. However, any additions to these records are added to the database through an external script so the aaf activerecord hooks will not catch any updates. Since new records are only added rarely, I figured I could just add the new records manually in ferret from some type of script. I''ve been looking at the