Acts_as_ferret and Will_paginate


#1

I am running acts_as_ferret and will_paginate 2.3.11, I have the
following code in
controller
@ads = Ad.find_with_ferret(params[:q]+"~", :page => params[‘page’],
:per_page => 10)

View
<removed_email_address@domain.invalid do |@ad|%>

    <%= render :partial => 'content',:collect =>@ads -%>
<%end%>

<%= will_paginate @ads %>

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 2…3…next and so on

Any help would be greatly appreciated