undefined method `add' called for #<ActsAsFerret::Remote::Server:0x7f5be279ea38> I am currently using ferret (0.11.6) and act_as_ferret (0.4.3) My project is using rails 2.1.1 and ruby 1.8.6 along with sqlite3 and Webrick. I can start the ferret server and when I do 'ps aux | grep ferret' in terminal I see the ferret server to be running. I have a model and controller to create an object that has a title and description. When I am starting my server and try to add an object in the database it is not creating any object and I am getting the following error. "undefined method `add' called for #<ActsAsFerret::Remote::Server:0x7f5be279ea38>" I tried to search solution for this problem in google. But haven't found the solution. Please help me to solve the problem. I am a new ferret user and not understanding what exactly to do. Please help me. I am using active scaffold for my object. And my sample code is as follows class Object < ActiveRecord::Base validates_presence_of :title, :message => "required" #searchable fields acts_as_ferret end class Admin::ObjectsController < Admin::BaseController active_scaffold :object do |config| # config.columns = :title, :content config.columns = :title, :content config.list.columns = :created_at, :title config.create.columns = :title, :content config.update.columns = :title,:content # config.columns.content end end I attachment has the information I got from Application Trace: Thanks in advance. Please help.
on 2008-10-08 13:43