Hey guys. Thaks for all the great feeback.
Actually using David Wennergren's suggestions did the trick! Thanks David! M. Jens Kraemer wrote: > On Mon, Oct 02, 2006 at 12:03:31PM +0200, David Wennergren wrote: >> "items.id in (1,12,13,45,23)" was still in the wrong order unless a >> passed an find_options ordering them by "name". > > aaf is supposed to retain the sorting of results delivered by Ferret. > The records retrieved with the sql 'in' clause are sorted afterwards so > they are in the same order as the originial Ferret result set. > > At least that is how it is supposed to be. > Could you please post your acts_as_ferret declaration, and the snippet > where you call find_by_contents, so I can check if this is a bug in aaf? > > cheers, > Jens > > > -- > webit! Gesellschaft f�r neue Medien mbH www.webit.de > Dipl.-Wirtschaftsingenieur Jens Kr�mer [EMAIL PROTECTED] > Schnorrstra�e 76 Tel +49 351 46766 0 > D-01069 Dresden Fax +49 351 46766 66 -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

