Skip to content
This repository

Welcome to the cursor_on_will_paginate wiki!
Small plugin that allows you to avoid some problems with find :all ActiveRecord method.

Require:
will_paginate gem

Usage:


#Instead of Book.each {|book| puts book.inspect} #use Book.each_with_cursor {|book| puts book.inspect} #or Book.each_with_cursor(:per_page => 100) {|book| puts book.inspect}

Default per_page value is 1000 items.
Something went wrong with that request. Please try again.