dm-is-paginated

Get Version

0.0.1

What

dm-is-paginated is a simple pagination plugin for DataMapper.

Installing

sudo gem install dm-is-paginated

Demonstration of usage

You can specify the page with :page => number.
You can also specify the items per page with :per_page => number.

Example:

@page_count, @pages = Post.paginated :page => @current_page

Google Groups / Mailing List

http://groups.google.com/group/dm-is-paginated

How to report a bug or make a feature request

Visit our ticket tracker

How to submit patches

Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.

You can fetch the source from github:

git clone git://github.com/lholden/dm-is-paginated.git

Build and test instructions

cd dm-is-paginated
rake test
rake install_gem

License

This code is free to use under the terms of the MIT license.

Contact

Comments are welcome, and can be sent via Google Groups.

Lori Holden, 12th October 2008
Theme extended from Paul Battley