Acts_as_ferret and Will_paginate

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)

<[email protected] do |@ad|%>

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

<%= 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs