= pagination_scope
This is a rails plugin module for mixing in pagination function.
== Description
This library is suitable to use together with complicated named_scope which has
:joins options. You can use the WillPaginate for ordinary case of pagination.
== Installation
=== Archive Installation
rake install
=== Gem Installation
gem install pagination_scope
== Features/Problems
== Synopsis
In your model class,
class Post
include PaginationScope
In your controller class,
class PostsController < ApplicationController
def index
@posts = Post.not_deleted.paginate(params[:page], 10)
In your view html.erb,
<%= paginate @posts %>
== Copyright
Author:: Genki Takiuchi genki@s21g.com
Copyright:: Copyright (c) 2008 Genki Takiuchi
License::