# Is it possible to work without DRB

**URL:** <https://www.ruby-forum.com/t/is-it-possible-to-work-without-drb/114056>\
**Category:** Ferret\
**Created:** [September 7, 2007, 11:59am UTC](https://www.ruby-forum.com/t/is-it-possible-to-work-without-drb/114056 "2007-09-07T11:59:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmihelac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Post date:** [September 7, 2007, 11:59am UTC](https://www.ruby-forum.com/t/is-it-possible-to-work-without-drb/114056/1 "2007-09-07T11:59:19Z")

</div>

Hi,  
I am looking for solution to work with ferret without DRB. I would like  
to turn off ferret indexing from application and use existing ferret  
index only for searching (read only), while I would create indexes once  
a day from script. Is it possible and how to turn indexing off and would  
ferret still complain if 2 mongrels try to open index file.

thanks,  
Bojan

---

<div class="post-metadata">

**Author:** ![bmihelac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Post date:** [September 7, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-work-without-drb/114056/2 "2007-09-07T16:50:04Z")

</div>

Hey …

are you talking about ferret, or acts\_as\_ferret?

its no problem with ferret, with acts\_as\_ferret, there is a flag on  
your model, see

Model.enable\_ferret and Model.disable\_ferret

Not sure if you can still search, but i guess that might be possible,  
as this might only disable the after\_save hooks … give it a try 🙂

Ben

---

<div class="post-metadata">

**Author:** ![bmihelac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Post date:** [September 8, 2007, 12:05am UTC](https://www.ruby-forum.com/t/is-it-possible-to-work-without-drb/114056/3 "2007-09-08T00:05:12Z")

</div>

Benjamin K. wrote:

> Hey …
> 
> are you talking about ferret, or acts\_as\_ferret?
> 
> its no problem with ferret, with acts\_as\_ferret, there is a flag on  
> your model, see
> 
> Model.enable\_ferret and Model.disable\_ferret
> 
> Not sure if you can still search, but i guess that might be possible,  
> as this might only disable the after\_save hooks … give it a try 🙂
> 
> Ben

Hi Benjamin,  
I was thinking about disabling ferret from acts\_as\_ferret. It does help  
to Model.disable\_ferret (in environment.rb if anyone is interested) and  
it is possible to search. Thank you!

Bojan
