Functioning through pagination

Listing 10.28. Paginating the users in the index action.
app/controllers/users_controller.rb