Ticket #348 (new defect)

Opened 3 months ago

Last modified 3 days ago

undefined method `add' called for #<ActsAsFerret::Remote::Server:0x7f5be279ea38>

Reported by: irsami1982 Owned by: somebody
Priority: blocker Milestone:
Component: component1 Version:
Keywords: Cc:

Description

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 get the Application Trace information in the attachment

Attachments

ferret bug application trace (9.3 KB) - added by ishratsami.dev@… 3 months ago.
It contains the error output

Change History

Changed 3 months ago by ishratsami.dev@…

It contains the error output

Changed 5 days ago by Corleon2

[A computer is] like an Old Testament god, with a lot of rules and no mercy.

-- Joseph Campbell

cialis buy propecia order cheap cialis online compra viagra generico order cheap fioricet buy fioricet buy cialis order propecia viagra online

Changed 3 days ago by anonymous

Add/Change #348 (undefined method `add' called for #<ActsAsFerret::Remote::Server:0x7f5be279ea38>)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from somebody. Next status will be 'new'
The owner will change from somebody to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.