Re: Expand Active Record

gene tani
2007-09-05T13:48:40Z

On Sep 5, 6:15 am, Mindtonic
<mindto...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I am wanting to add the self.full_text_search for Ferret in a way that
> I only have to put it in one place and not in every single model that
> I want to be able to search.  That would be a lot of repeating
> myself!  Thanks...
>

I think you could have a subclass of AR::Base that acts_as_ferret and
then your models subclass that, but then you index every column of
every table (?!)