Topic: fragment cache and will_paginate

hey, guys,

I'm working with REST+will_paginate, and I want to fragment cache every page.

Say, I have a blog app, which have several posts listed on the home page, they are paginated with will_paginate, I followed the instructions from http://www.railsenvy.com/2007/3/20/ruby … aginating, it caches the 1st page properly, but when i get back to the 1st page from somewhere else, it hits the cache, but the Rails complains that the @posts in <%= will_paginate @posts%> on the index.html.erb is empty