Forum: Ferret Acts_as_ferret and Will_paginate

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
04f5bcd7829edd733f970920936109a0?d=identicon&s=25 Dave L. (larrylep)
on 2010-06-08 15:28
I am running acts_as_ferret and will_paginate 2.3.11, I have the
following code in
@ads = Ad.find_with_ferret(params[:q]+"~", :page => params['page'],
:per_page => 10)

<%@ads.collect do |@ad|%>
      <%= render :partial => 'content',:collect =>@ads -%>
<p><%= will_paginate @ads %></p>

The problem is it only paginates first page of results and I can't see
beyond the first page of results, (even if there is more than one page
of results)

Am getting nil value for page and so on

Any help would be greatly appreciated
This topic is locked and can not be replied to.