On Sat, Sep 29, 2007 at 12:20:08PM +0200, Jim Neath wrote:
> Jim Neath wrote:
> > Would something like this work:
> > 
> > def ferret_enabled?
> >   self.privacy ? false : self.parent_id ? false : true
> > end
> 
> Just tried it. Seems to work great with new images. How do I go about 
> rebuilding the index of the current images?

Model.rebuild_index

-- 
Jens Krämer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/     - The new free film database
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to