Simple paging question


I’m trying to page through records returned from a search:

donor controller:

def search
str = params[:donor][:search_string] + ‘%’
@donor_pages, @donors = paginate :donors, :per_page => 5,
:conditions => [“last_name LIKE ?”, str]
render(:template => ‘donor/list’)

in my main view:

<%= text_field ‘donor’, ‘search_string’ %>

I’m trying to reuse the exsting ‘list’ template, which works, but I’m
wondering how to persist the search string in order to be able to page
thru the results. I mean, I can think of various ways to do it, but
am unclear what the Rails way is. Do I simply append the search string
to the link?