> please note that this will only work with :limit => :all, otherwise > you'll only sort the subset of records retrieved from ferret, not the > whole result set.
Just to make sure that I don't misunderstand something. If I skip the find_options but use a Ferret sort field I get the correct result (for exampel, 20 hits ordered by name). My problem was that if I didn't provide the find_options, the records when loaded with an sql like this (in the find_by_contents method) "items.id in (1,12,13,45,23)" was still in the wrong order unless a passed an find_options ordering them by "name". /David -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

