I have a typical search facility in my app which returns a list of results that can be paginated, sorted, viewed with a different records_per_page value, etc. Each of these
You can just throw elements of the params hash at link_to. Like
params
link_to
link_to "some_other_link", "/search", :page => params[:page]