When to restart the DRb server?


#1

Under what circumstances does the DRb server need to be restarted?
When new models are being indexed? When a model changes?

Thanks,
John


#2

On 2007-07-31, at 11:17 PM, John B. wrote:

Under what circumstances does the DRb server need to be restarted?
When new models are being indexed? When a model changes?

Hey John,

if you change your model classes, the backgroundrb server should
be restarted. This includes migrations or any other code that is
relevant for the indexing process. But if you use capistrano, there
is a capistrano task available for acts_as_ferret[1].

Ben

[1] http://projects.jkraemer.net/acts_as_ferret/browser/trunk/plugin/
acts_as_ferret/lib/ferret_cap_tasks.rb