two, independant paginations on one page

Uh, @stories is going to be nil everytime - HTTP is stateless, @stories is an instance variable the gets set every time the controller is called. Why aren't you just paginating directly from the page number, and then just using -1/+1 values of the current page for your links in the view?