Hi John and Jens, Thanks a ton for your guidance, I got it right now after making the changes.
Cheers Cass Jens Kraemer wrote: > On Wed, Oct 03, 2007 at 12:07:53PM +0100, John Leach wrote: >> So instead of using :limit and :offset in your options for >> find_by_contents, drop all your page number calculations and >> use :per_page and :page. Aaf will then figure out the limit and offset >> for you. > > exactly. Use the latest trunk of the plugin, and use the > find_with_ferret method with the :multi option instead of multi_search: > > Model.find_with_ferret query, :page => params[:page], :per_page => 10, > :multi => [ Model2, Model3 ] > > > cheers, > Jens > > >> > >> > >> > @results = UserProfile.find_by_contents @query >> > options = default_options.merge options >> [email protected] >> http://rubyforge.org/mailman/listinfo/ferret-talk > -- > Jens Krämer > http://www.jkraemer.net/ - Blog > http://www.omdb.org/ - The new free film database -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

