title: how can I get will_paginate working with ajax?
body: <p>I have followed a few tutorials with no luck so far.  I am using ajax_pagination.  when I click the link for the second page, this is what the server log says:
      Started GET "/?page=2&amp;<em>=1367953277288" for 127.0.0.1 at 2013-05-07 14:05:49-0500<br>
      Processing by AddressesController#index as JS
      Parameters: {"page"=>"2", "</em>"=>"1367953277288"}
      Address Load (0.9ms)  SELECT "addresses".* FROM "addresses" LIMIT 5 OFFSET 5
      Rendered addresses/_addresses.html.erb (6.7ms)
      Rendered addresses/index.html.erb (8.4ms)
      Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.9ms)</p>
  
  <p>so it appears that the request is correct, however nothing is changing on the page.  here is my code for the partial _addresses:</p>
  
  <pre><code>&lt;%= ajax_loadzone do %&gt;
  &lt;% @addresses.each do |address| %&gt;
  blah blah
  &lt;%end%&gt;
  
  &lt;%= ajax_links :section_id =&gt; 'page' do %&gt;
  &lt;%= will_paginate @addresses %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>controller:
      ajax_respond format, :section_id => "page", :render => "addresses"</p>
  
  <p>index view:
       &lt;%= ajax_section :id => 'page', :render => 'addresses' %></p>
  
  <p>this isn't all my code, but the pertinent bits.  </p>