similar to: undefined method add called for ActsAsFerret::Remote::Server

Displaying 20 results from an estimated 1000 matches similar to: "undefined method add called for ActsAsFerret::Remote::Server"

2009 Jan 05
1
acts_as_ferret ActsAsFerret::IndexNotDefined
Hello! I use acts_as_ferret at first. I have several models with acts_as_ferret. When I do search in the models User,Article,Therm it works fine. But when I try search in Addition model or in Page model I got following error message: ActsAsFerret::IndexNotDefined addition in the string: @results = Addition.find_with_ferret(params[:q]) or ActsAsFerret::IndexNotDefined page in the string:
2009 Feb 10
3
uninitialized constant ActsAsFerret (NameError)
Hi all, I have another problem that I fight with for some time and I could not understand where is the problem. Probably the problem is that I am quite "green" in RR :) I am trying to make the Demo Application that comes with Ferret to work but I guess something with my environment is not OK. I will do apreciate any help. [root at moonlight FerretDemo]# ./script/server => Booting
2013 Mar 20
2
Rspec + Devise + BaseController
Hello there, I''m creating a base controller for the admin section of a project. All controllers whitin the admin section will inherit from it. ##################################################### #app/controllers/admins/base_controller.rb class Admins::BaseController < ApplicationController layout "admin_cms" before_filter :authenticate_admin! end
2009 Sep 29
0
Problem with RESTful resource and ActiveScaffold
Hello everyone, I am trying to use a RESTful controller for user inside a namespace using AS and one outside for registration and so on. When i try to visit the namespaced url I get Unknown action. Once i replace active_scaffold :users with a def index; end i can the URL. My routes look like: map.register "register", :controller => "users", :action => "create"
2009 May 22
1
rails 2.3.2, active scaffold, nested, ActionView::TemplateError (undefined method `format_column' for #<ActionView::Base:
Before I dig in any further (since I have no idea where to go from here...) Has anyone been succcessful with 2.3.2, AS, and nested scaffolds? I have the latest of AS and the render_component plugin via % script/plugin install --force git://github.com/lackac/render_component.git -r rails-edge I have an AS user_controller: active_scaffold :user do |config| ...
2007 Apr 30
1
Can''t search fields with space
Hi, I have a user model that has a city field which is searchable using acts_as_ferret. But I can''t get it to return any result whether I use :city => {:store => :no, :index => :untokenized}, or :city => {:store => :no} in my User model''s acts_as_ferret option >>> User.find_by_contents("city:(cal poly)") =>
2005 Dec 28
3
Module loading
I''ve looked high and low for the answer to this and can''t seem to find anything that helps. I have an admin section (much like Typo) where all controllers are based on the Admin::BaseController. My directory structure is [RAILS] -app --controllers ---admin ----base_controller.rb ----products_controller.rb Products controller is: class Admin::ProductsController <
2007 May 29
1
is "IN" a special word?
Hi, I am trying to do a search for a field that contains the word "in" or "IN", but ferret doesn''t return me any result. class User < ActiveRecord::Base acts_as_ferret :fields => { :user => {:store => :no }, :len => {:store => :yes} } end ruby script/console >> User.find_by_contents(''Cal'') =>
2009 Jan 17
2
active_scaffold + i18n
Hello all, I have a project where I''m using active_scaffold and would also like to use i18n over it. While the i18n works fine if I just ignore the active_scaffold, I couldn''t get it running with it. I searched through its docs and googled quite a bit. Can I use i18n with active_scaffold? thanks cheers -- gallois aka Felipe Gallois blog: www.gallois.com.br/blog fanglib
2009 Mar 18
0
Acts_as_ferret: Slow ferret_update with associated models
Hi, I am using some custom fields for ferret indexing to include fields from associated models. When those child models are updated, I do ferret_update on the parent model. Unfortunately, that takes very long, depending on the number of associated child models. That is because every child model is called to re-index the parent, instead of just the changed one. What can I do to speed up
2007 Jun 27
1
Active Scaffold controllers created dynamically at runtime?
Does anyone know how to link Rails'' routes into anonymous controller classes created at runtime (defined with their superclass as ActionController::Base)? I''m trying to create a plugin for all of my projects that dynamically creates an active_scaffold controller for each model. It would essentially be like a scaffold_all_models for active_scaffold. I believe the original
2007 Jan 17
5
[ActsAsFerret] Globalize integration
Hi, I''ve modified the latest acts_as_ferret code (version 0.3.0) to integrate with the Globalize (http://www.globalize-rails.org/globalize/) plugin. Essentially, I''ve added the ability to use a separate index per locale (It basically adds the language code as a suffix to the index and switches between indexes when the active locale changes). Since this introduces an optional
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 Jan 18
4
[ActsAsFerret] Index Directory Disappears and Not Re-created
Hi, This is a recurring issue for me - the index directory on my production server and everything below it occasionally disappears and isn''t reconstructed. I tried manually creating the entire index path manually before starting the server, but it still happened while the server is running. I don''t know what''s causing the index to disappear and I''m also not
2007 Apr 08
10
[ActsAsFerret] Fatal failed to allocate memory in DRb
I''m using DRb with edge [AAF] and my server is really fast reaching 3GB+ of memory and soon it will crash with this message: [FATAL] failed to allocate memory Now its like this: 10542 bbs 2 59 0 3649M 3647M sleep 1:27 0.10% runner Anybody has any ideas on this? -- Posted via http://www.ruby-forum.com/.
2006 Aug 08
2
Extending rails with plugins
I''ve been looking at bottling some functionality up into a plugin, but I''m having some problems including it. The structure I have is: /app/controllers/admin/base_controller.rb: class Admin::BaseController > ApplicationController #snip# end /vendor/plugins/myplugin/lib/my_module.rb: module MyModule def new_func "New Function" end end
2011 Mar 30
0
Anonymous Subclass of ActionController::Base
I''m trying to spec a subclass of ActionController::Base using an anonymous subclass but I am running into errors but I am receiving a uninitialized constant StubResource Here is my base class class Admin::BaseController < ApplicationController before_filter :etherweb_site load_and_authorize_resource layout "admin/admin" protected def etherweb_site end end
2012 Mar 07
0
LoadError: Expected X to define on gem upgrade
I''m upgrading to the latest version of ActiveAdmin and am running into the following when trying to start the app: Expected ../app/model/store/base.rb to define Base base.rb defines base like: module MyApp class Store::Base end end I''ve done some digging and found that ActiveAdmin did some refactoring to derive everything from a BaseController. It also depends on
2006 Jun 26
3
Installing ferret on windows
Hello, Im running rails 1.1.2 and ferret 0.9.3 and cant install act_as_ferret. I tryed the following instruction at act_as_ferret wiki: "Installation Please use script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/plugin/stable/acts_as_ferret for easy installation of the current stable version of the plugin. At the moment this is version 0.2.1 based on Subversion Rev.
2008 Jan 21
1
fuzzy search question
Hi, I''ve got a question about FuzzyQueries. Say I''m doing a search for people by name, and I want to allow fuzzy results if there aren''t enough hits with a regular query. This is easy enough; just redo the search with the fuzzy query if original_results.total_hits is less than some threshold. However, I would like the exact-match results to have a higher score