Displaying 1 result from an estimated 1 matches for "objectscontroller".
Did you mean:
objectcontroller
2008 Oct 08
0
undefined method add called for ActsAsFerret::Remote::Server
...d 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...