Forum: Ferret How to perform search on multiple models and controllers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6ba611bd72eed6ebf92e6124454f879a?d=identicon&s=25 Cass Amino (myowntribe)
on 2007-08-01 09:50
Hi

I am using acts_as_ferret and it works great on inidvidual models. Like
I can search seperately for fileds indexed in BasicProfile model and
fields indexed in WorkProfile model.

I would like to know if it is possible to search commonly for all the
fileds in these two models?

Cheers

Cass
C9dd93aa135988cabf9183d3210665ca?d=identicon&s=25 Jens Kraemer (Guest)
on 2007-08-01 10:37
(Received via mailing list)
On Wed, Aug 01, 2007 at 09:50:24AM +0200, Cass Amino wrote:
> Hi
>
> I am using acts_as_ferret and it works great on inidvidual models. Like
> I can search seperately for fileds indexed in BasicProfile model and
> fields indexed in WorkProfile model.
>
> I would like to know if it is possible to search commonly for all the
> fileds in these two models?

check out multi_search


Jens

--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
kraemer@webit.de | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
This topic is locked and can not be replied to.