Release simple_paginate gem
We saw some websites using will_paginate or kaminari for pagination, but they just need previous and next page navigation, will_paginate or kaminari is overqualified.
Pagination in databae sometimes is slow because
- it sends a sql with OFFSET to get collection
- it sends additional sql with COUNT to get total number of record.
simple_paginate eliminates the additional COUNT sql, make your pagination faster.
Comments
You mean, this: paginate. :)
Post a comment