> > I'm refactoring/upgrading an "old" (1-year) app, where I used to do > all the ferret index stuff myself (callbacks, queries, ..), to the > mucho simpler interface offered by acts_as_ferret. AFAIK, aaf only > works with string queries, so if there is a string-based solution that > works, I'd rather use this one. If there is none, I'll bite the bullet > and follow your advice. "A man's got to do, what a man's got to do"
Alain, i'm no AAF expert, but afaik most methods of aaf are using find_id_by_contents.. which is accepting a query parameter.. that query parameter gets forwarded to ferrets own search_each. search_each accepts strings or ferret query objects.. so i would assume that you can pass a OO-Query to AAF. And anything else would have surprised me.. as Jens code is quite sophisticated :-) Ben _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

