I have been trying to set up the remote indexing for acts_as_ferret and
followed the guide here:
I added :remote => true to my models and then specified host and port
for the production environment.
After defining the host/port for production, I tried to run my
development server and received the following error:
You have a nil object when you didn’t expect it! (NoMethodError)
You might have expected an instance of Array.
Isn’t it supposed to work just fine even though we don’t specify neither
the development nor the test environment in the ferret_server.yml?
Anyways, I then decided to specify development environment in the
Here is how it’s setup:
port: 3000 (my rails app port)
Sure enough I don’t get that error anymore and my development server
boots up just fine.
However, when I executed my search it didn’t work (I use id_multi_search
btw so need to add :store_class_name => true to my models as well). The
following is the error description:
DRb::DRbConnError (too large packet 1213486160):
Any clue guys?
Thank you in advance for the help.