using will_paginate

def index
@clients = Client.paginate :page => params[:page], :per_page => 5

and the code in clients/index.html.erb:

<%= will_paginate @clients %>

The problem is I don't see any client specification. The pagination is
working fine, there are 13 recorded clients in the database and it shows
3 pages total.

All that snippet is supposed to do is display the pagination links -
you still need to iterate over @clients and render the html for each