Paginate method not defined

Adding the pagination feature to the sample app I ran into a small
issue not noted in the book. After adding the will_paginate gem, and
changing the index action to use User.paginate(:page => params[:page])
instead of User.all, I was getting the error paginate method not
found. Restarting the server solved this.