will_paginate with Rails3 and Caching
This is a quick solution to use will_paginate gem with Rails3 and Caching. If you have a Rails application with cache and you are using will_paginate gem, maybe you have a problem with your routes. A simple solution for this, is add a route in your routes.rb file. For example, if you have a model named ‘post’ and you need add paginate in your index page. You have a problem, because...