Topic: How to use will_paginate on this code?
I can't get to seem to wrap my head around this so if you could point me to the right direction, that would be really appreciated.
I have a method class in my category model
directories.find(:all, :include => :categorizations, :joins => 'INNER JOIN companies c ON company_id = c.id', :order => 'featured DESC')
<% for listing in @category.with_categorized_listing %>
<p><b><%= listing.company.name %></b></p>
<%=h listing.address1 %> <%=h listing.address2 -%>,<br />
<%=h listing.city %>, <%=h listing.state %> <%=h listing.zipcode %>
<% end %>
Is it still possible to implement will_paginate to this?