I have the same problem using the Drb Server but mine is consistent, I
get this everytime once I switch to remote mode:
NoMethodError: undefined method `add' for User:Class
from (druby://localhost:9010)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1236:in
`method_missing'
from (druby://localhost:9010)
./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:70:in
`send'
from (druby://localhost:9010)
./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:70:in
`method_missing'
from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/remote_index.rb:31:in
`<<'
from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/instance_methods.rb:73:in
`ferret_update'
The acts_as_ferret line for the User model is very basic:
acts_as_ferret :fields => ['lastname','firstname'], :remote =>
true
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk