AAF: undefined method `to_doc'

Hi,

am using acts_as_ferret, to search on login (user names) and emails in
my project. Now the signup user method is broken due to the ferret
error.

A NoMethodError occurred in
account#signup:
undefined method add' for User:Class (druby:/localhost:9010) /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1235:in method_missing’

Execution Backtrace:

(druby:/localhost:9010)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1235:in
method_missing' (druby:/localhost:9010) ./vendor/plugins/acts_as_ferret/lib/ferret_server.rb:73:in send’
(druby:/localhost:9010)
./vendor/plugins/acts_as_ferret/lib/ferret_server.rb:73:in
method_missing' [RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/remote_index.rb:31:in <<’
[RAILS_ROOT]/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in
ferret_create' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/callbacks.rb:333:in send’

when I looked into the ferret_server.log:

call index method: add with [{:login=>“nik10”,
:email=>“*****@gmail.com”, :id=>30}]
no luck, trying to call class method insteadferret server error
undefined method add' for User:Class /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1235:in method_missing’\n\n./script/…/config/…/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:71:in
`send’\n\n./script/…/confi…

when I did a: rescue NoMethodError => e and then include e.message in
the debug
output (as suggested in the post: Undefined method `add' - Ferret - Ruby-Forum
(already tried it but in vain)) , I got this for the first part:

call index method: add with [{:login=>“nik16”,
:email=>“******@gmail.com”, :id=>36}]
no: luck, trying to call class method instead
undefined method to_doc' for {:login=>"nik16", :email=>"******@gmail.com", :id=>36}:Ferret::Document </b> ferret server error undefined method add’ for User:Class

This error is consistent and the sign up is totally broken.

Any help will be much appreciated!

Thanks n Regards,
Nik