After upgrading to the latest code, my combination of AAF and acts as
taggable on steriods stopped working.
After adding tags I try to save the record, i get the following error
message:
NoMethodError: undefined method to_doc' for #<DRb::DRbUnknown:0x2646d54> from (druby://localhost:9010) /Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/local_index.rb:153:in
add’
from (druby://localhost:9010)
/Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:102:in
send' from (druby://localhost:9010) /Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:102:in
method_missing’
from (druby://localhost:9010)
/Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:170:in
reconnect_when_needed' from (druby://localhost:9010) /Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:97:in
method_missing’
from (druby://localhost:9010)
/Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:164:in
with_class' from (druby://localhost:9010) /Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:96:in
method_missing’
from
/Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/remote_index.rb:31:in
<<' from /Users/jroodnat/Rails/sam/vendor/plugins/acts_as_ferret/lib/instance_methods.rb:90:in
ferret_update’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:333:in
send' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:333:in
callback’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:330:in
each' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:330:in
callback’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:268:in
update_without_timestamps' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/timestamp.rb:39:in
update’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1792:in
create_or_update_without_callbacks' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/callbacks.rb:242:in
create_or_update’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1548:in
save_without_validation' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/validations.rb:752:in
save_without_transactions’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/transactions.rb:129:in
save' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract/database_statements.rb:59:in
transaction’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/transactions.rb:95:in
transaction' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/transactions.rb:121:in
transaction’
from
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/transactions.rb:129:in
`save’
from (irb):110
from :0>>