# Undefined method add called for ActsAsFerret::Remote::Server

**URL:** <https://www.ruby-forum.com/t/undefined-method-add-called-for-actsasferret-server/150420>\
**Category:** Rails\
**Created:** [October 8, 2008, 11:43am UTC](https://www.ruby-forum.com/t/undefined-method-add-called-for-actsasferret-server/150420 "2008-10-08T11:43:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![irsami1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/85f322/32.png) [@irsami1982](https://www.ruby-forum.com/u/irsami1982)\
**Post date:** [October 8, 2008, 11:43am UTC](https://www.ruby-forum.com/t/undefined-method-add-called-for-actsasferret-server/150420/1 "2008-10-08T11:43:17Z")

</div>

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.
