will_paginate is a pagination library that integrates with Ruby on Rails, Sinatra, Merb, DataMapper and Sequel.
## Gemfile for Rails 3, Sinatra, and Merb
gem 'will_paginate', '~> 3.0'
See [installation instructions][install] on the wiki for more info.
## Basic will_paginate use
## perform a paginated query:
@posts = Post.paginate(:page =>
Copyright (c) 2009 Mislav Marohnić
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom