Take a look at ferret and acts_as_ferret.
I havn''t used them myself but I believe it has the ability to search
accross model and fields. I wouldn''t know how to do it tho.
On 6/2/06, Guest <blamemike@gmail.com> wrote:> Does anyone know what the best approach would be to do a search against
> mutiple fields from one text string in a RoR app?
>
> My client wants its user base to be able to issue a search like:
>
> "Record Stores in 12321 Jazz"
>
> So, esentially, the query would have to check a couple tables, and a
> couple fields in each table.
>
> Thanks for any help.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>