ajax, url, browser history

I got it into my head that pagination can use ajax calls so I can
update the relevant portion of the page without reloading the entire

'.pagination a:click': function() {
  new Ajax.Request(this.href, { asynchronous:true, evalScripts:true,
  return false;

a little change in my controller and voila. except I then realized
I'd just opened up a whole can of worms with ajax, url, browser
history. doing some research, I found the solutions are rather
complicated, browser dependent, and not completely satisfactory.


does rails/rjs help us out here with some clever abstraction/library
methods for handling this? thanks