Thanks all On the way to solving this i found a bug in acts_as_ferret - it seems that if i try to sort, paginate and use conditions at the same time then the sorting breaks down: instead of being sorted and then paginated, the results are paginated (ordered simply by id) and then sorted within each page.
I let Jens Kraemer (and the acts as ferret mailing list) know about it but as far as i know it's not been fixed. I ended up doing a ferret search to get the ids of the results (with unallowed records filtered out), and then doing an AR find to get those results, sort and paginate them. So, it's a little inelegant but it works, at least. thanks max -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

