0.0
No commit activity in last 3 years
No release in over 3 years
Provides a helper method which will memoize result generation using the cache, and return the page requested.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

This gem allows for a more flexible solution to pagination than will_paginate. This gem provides a helper method for the controller called paginate_cached which uses memcached to memoize the operations required to perform the search. This is a truer pagination than the way that will_paginate usually uses, which re-executes the search. While only tested with Dali, it's fully possible to use this with any other caching method which uses the Rails.cache abstraction.

I suggest anyone interested in using this gem to read the soruce. Its short enough and simple enough that it's probably clearer documentation than english could provide.